From 47c9078771536b62be63f7ca6ef9187f54a403b4 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 11 Nov 2012 16:09:50 -0500 Subject: [PATCH] package: change "e" -> "error" to avoid pylint C0103 (Invalid name "e") --- pym/gentoolkit/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/gentoolkit/package.py b/pym/gentoolkit/package.py index a860c2e..9c935c1 100644 --- a/pym/gentoolkit/package.py +++ b/pym/gentoolkit/package.py @@ -124,9 +124,9 @@ class Package(CPV): ) try: self._metadata = MetaData(metadata_path) - except IOError as e: + except IOError as error: import errno - if e.errno != errno.ENOENT: + if error.errno != errno.ENOENT: raise return None -- 2.26.2