From 90211b4bd9c7d1e00d5598ee9a6fac5cf96722d0 Mon Sep 17 00:00:00 2001 From: Junaid Ali Date: Mon, 23 May 2016 06:29:42 -0400 Subject: [PATCH] logging IOError for sources.list --- hooks/pg_dir_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/pg_dir_utils.py b/hooks/pg_dir_utils.py index aaa0f03..a9ba277 100644 --- a/hooks/pg_dir_utils.py +++ b/hooks/pg_dir_utils.py @@ -102,7 +102,7 @@ def configure_pg_sources(): sources.truncate() sources.close() except IOError: - raise IOError('Unable to access /etc/apt/sources.list') + log('Unable to update /etc/apt/sources.list') def determine_packages():