diff options
Diffstat (limited to 'pym')
-rw-r--r-- | pym/portage/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 84c614757..a42f99894 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -202,7 +202,7 @@ def cacheddir(my_original_path, ignorecvs, ignorelist, EmptyOnError, followSymli try: pathstat = os.stat(mypath) if stat.S_ISDIR(pathstat[stat.ST_MODE]): - mtime = pathstat[stat.ST_MTIME] + mtime = pathstat.st_mtime else: raise portage.exception.DirectoryNotFound(mypath) except EnvironmentError, e: |