Changeset d784e4cb9162f7a3d4b27e1665edfc22942da0dc for pyflu/pyflu/path.py
- Timestamp:
- 07/12/10 22:39:50 (23 months ago)
- Children:
- c185bb3f8037449c1448deba90c5e3cff30e1cb2
- Parents:
- eeda349e03ba693572ec1906566cdaea952fe906
- git-committer:
- Luper Rouch <luper.rouch@…> (07/12/10 22:39:50)
- File:
-
- 1 edited
-
pyflu/pyflu/path.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pyflu/pyflu/path.py
r6408560 rd784e4c 2 2 3 3 import os 4 import sys 4 5 from os.path import commonprefix, abspath, join, splitext 5 6 … … 33 34 34 35 36 def file_mtime(path): 37 """ 38 Get the (correct) modification time of the file at *path*. 39 """ 40 stat = os.stat(path) 41 mtime = stat.st_mtime 42 if sys.platform == "win32": 43 mtime -= stat.st_ctime 44 return mtime 35 45
Note: See TracChangeset
for help on using the changeset viewer.
