Changeset 2178


Ignore:
Timestamp:
01/14/11 08:21:29 (3 years ago)
Author:
wehart
Message:

Eliminating the use of filecmp.cmp, which doesn't do as careful comparison
of the os.stat() information as I'd like.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyutilib.th/trunk/pyutilib/th/misc.py

    r2177 r2178  
    213213  # raise an exception. 
    214214  # 
    215   if filecmp.cmp(filename1, filename2): 
     215  if os.stat(filename1) == os.stat(filename2): 
    216216        return False 
    217217 
Note: See TracChangeset for help on using the changeset viewer.