Skip to content

Commit 1bc1628

Browse files
committed
Code cleanup
1 parent 9d3052f commit 1bc1628

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mbed/mbed.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1097,8 +1097,7 @@ def isurl(cls, url):
10971097
@classmethod
10981098
def isinsecure(cls, url):
10991099
up = urlparse(url)
1100-
return False
1101-
# return not up or (up.scheme and up.scheme not in ['http', 'https', 'ssh', 'git']) or (up.port and int(up.port) not in [22, 80, 443])
1100+
return not up or (up.scheme and up.scheme not in ['http', 'https', 'ssh', 'git']) or (up.port and int(up.port) not in [22, 80, 443])
11021101

11031102
@property
11041103
def lib(self):

0 commit comments

Comments
 (0)