diff options
author | Emile Anclin <emile.anclin@logilab.fr> | 2010-10-18 11:52:07 +0200 |
---|---|---|
committer | Emile Anclin <emile.anclin@logilab.fr> | 2010-10-18 11:52:07 +0200 |
commit | 0ea75902f065515d2dc49d18a642958a62876cc7 (patch) | |
tree | b69154084a5e6b6bdc7b52c64702eb4fa558f295 /fileutils.py | |
parent | dd76e5ec8284066b3238b9d1bdd224d83adf25ac (diff) | |
download | logilab-common-0ea75902f065515d2dc49d18a642958a62876cc7.tar.gz |
fix: stay python2.3 compat
Diffstat (limited to 'fileutils.py')
-rw-r--r-- | fileutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fileutils.py b/fileutils.py index aacd801..3d030e9 100644 --- a/fileutils.py +++ b/fileutils.py @@ -378,7 +378,7 @@ def export(from_dir, to_dir, for filename in filenames: # don't include binary files # endswith does not accept tuple in 2.4 - if any(filename.endswith(ext) for ext in ignore_ext): + if any([filename.endswith(ext) for ext in ignore_ext]): continue src = join(directory, filename) dest = to_dir + src[len(from_dir):] |