Changeset 2179


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

Removing the other call to filecmp.cmp()

File:
1 edited

Legend:

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

    r2178 r2179  
    1010import sys 
    1111import os.path 
    12 import filecmp 
    1312import difflib 
    1413import zipfile 
     
    108107    # raise an exception. 
    109108    # 
    110     if filecmp.cmp(filename1, filename2): 
     109    if os.stat(filename1) == os.stat(filename2): 
    111110        return [False, None, ""] 
    112111    # 
Note: See TracChangeset for help on using the changeset viewer.