Skip to content

Commit f886603

Browse files
committed
Merge branch 'common' into v4
* common: why did i do this???
2 parents dcd0231 + 25751e6 commit f886603

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)