From dbc55632e18630e7cec91c5185f8bb82191fc7cb Mon Sep 17 00:00:00 2001 From: drigato Date: Tue, 11 Nov 2014 13:58:55 -0500 Subject: [PATCH] Changed print statements so they go to the pypo log --- python_apps/pypo/cloud_storage_downloader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python_apps/pypo/cloud_storage_downloader.py b/python_apps/pypo/cloud_storage_downloader.py index 4565985e9..f5768df29 100644 --- a/python_apps/pypo/cloud_storage_downloader.py +++ b/python_apps/pypo/cloud_storage_downloader.py @@ -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