summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunaid Ali <junaidali@plumgrid.com>2016-05-23 06:31:14 -0400
committerJunaid Ali <junaidali@plumgrid.com>2016-05-23 06:31:14 -0400
commit1c19fadbc4b8bdad7d66666c629d11728d43c741 (patch)
treec01bdaade6783580efa8764d39899986e7f88573
parent4999e4d5f3a356f271b15b5983a51a914dca22d3 (diff)
logging IOError for sources.list
-rw-r--r--hooks/pg_gw_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/pg_gw_utils.py b/hooks/pg_gw_utils.py
index 98ad4a4..cb9250e 100644
--- a/hooks/pg_gw_utils.py
+++ b/hooks/pg_gw_utils.py
@@ -92,7 +92,7 @@ def configure_pg_sources():
92 sources.truncate() 92 sources.truncate()
93 sources.close() 93 sources.close()
94 except IOError: 94 except IOError:
95 raise IOError('Unable to access /etc/apt/sources.list') 95 log('Unable to update /etc/apt/sources.list')
96 96
97 97
98def determine_packages(): 98def determine_packages():