From 1c19fadbc4b8bdad7d66666c629d11728d43c741 Mon Sep 17 00:00:00 2001 From: Junaid Ali Date: Mon, 23 May 2016 06:31:14 -0400 Subject: [PATCH] logging IOError for sources.list --- hooks/pg_gw_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(): 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():