Changed print statements so they go to the pypo log

This commit is contained in:
drigato 2014-11-11 13:58:55 -05:00
parent b304e2fa34
commit dbc55632e1
1 changed files with 2 additions and 2 deletions

View File

@ -75,10 +75,10 @@ class CloudStorageDownloader:
try:
config.readfp(open(config_path))
except IOError as e:
print "Failed to open config file at " + config_path + ": " + e.strerror
logging.debug("Failed to open config file at %s: %s" % (config_path, e.strerror))
sys.exit()
except Exception:
print e.strerror
logging.debug(e.strerror)
sys.exit()
return config