Skip to content

Commit b8b63c2

Browse files
author
Tim Vaillancourt
committed
dont need redundant logging line, the message gets printed twice
1 parent a45b965 commit b8b63c2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

MongoBackup/Common/Util.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import logging
21
import socket
32

43

@@ -8,5 +7,4 @@ def validate_hostname(hostname):
87
hostname, port = hostname.split(":")
98
socket.gethostbyname(hostname)
109
except socket.error, e:
11-
logging.fatal("Could not resolve host '%s', error: %s" % (hostname, e))
1210
raise Exception, "Could not resolve host '%s', error: %s" % (hostname, e), None

0 commit comments

Comments
 (0)