diff options
Diffstat (limited to 'Lib/pstats.py')
-rw-r--r-- | Lib/pstats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pstats.py b/Lib/pstats.py index c5d8c38..384db52 100644 --- a/Lib/pstats.py +++ b/Lib/pstats.py @@ -108,7 +108,7 @@ class Stats: f.close() try: file_stats = os.stat(arg) - arg = time.ctime(file_stats[8]) + " " + arg + arg = time.ctime(file_stats.st_mtime) + " " + arg except: # in case this is not unix pass self.files = [ arg ] |