diff options
Diffstat (limited to 'pym/portage/eclass_cache.py')
-rw-r--r-- | pym/portage/eclass_cache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/eclass_cache.py b/pym/portage/eclass_cache.py index 3f86a6d69..e0b9383c5 100644 --- a/pym/portage/eclass_cache.py +++ b/pym/portage/eclass_cache.py @@ -80,7 +80,7 @@ class cache(object): for x in [normalize_path(os.path.join(y,"eclass")) for y in self.porttrees]: try: eclass_filenames = os.listdir(x) - except OSError, e: + except OSError as e: if e.errno in ignored_listdir_errnos: del e continue |