package: change "e" -> "error" to avoid pylint C0103 (Invalid name "e")
authorW. Trevor King <wking@tremily.us>
Sun, 11 Nov 2012 21:09:50 +0000 (16:09 -0500)
committerW. Trevor King <wking@tremily.us>
Sun, 11 Nov 2012 21:19:51 +0000 (16:19 -0500)
pym/gentoolkit/package.py

index a860c2e45c64376cff4a6afafd68b6c69ed245fc..9c935c108fc251fa1d5dd85c6dcb5cef34bd872e 100644 (file)
@@ -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