From: W. Trevor King Date: Sun, 11 Nov 2012 21:09:50 +0000 (-0500) Subject: package: change "e" -> "error" to avoid pylint C0103 (Invalid name "e") X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=47c9078771536b62be63f7ca6ef9187f54a403b4;p=gentoolkit.git package: change "e" -> "error" to avoid pylint C0103 (Invalid name "e") --- 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