Skip to content

Commit 25751e6

Browse files
committed
why did i do this???
1 parent bd282c0 commit 25751e6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

osg_configure/modules/utilities.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -586,10 +586,7 @@ def split_host_port(host_port):
586586
colon_count = host_port.count(':')
587587
if colon_count == 0:
588588
# hostname or ipv4 address without port
589-
try:
590-
return host_port, None
591-
except ValueError:
592-
return False
589+
return host_port, None
593590
elif colon_count == 1:
594591
# hostname or ipv4 address with port
595592
return host_port.split(':', 1)

0 commit comments

Comments
 (0)