diff options
author | Pedro Algarvio <pedro@algarvio.me> | 2014-11-28 19:09:45 +0000 |
---|---|---|
committer | Pedro Algarvio <pedro@algarvio.me> | 2014-11-28 19:09:45 +0000 |
commit | a7de921b58d8529797cce8db606ef05492a87e02 (patch) | |
tree | e19aeeb9a3b3df8df2519606867d3a30db86637e /setup.py | |
parent | 1d9fcaeb6e1bb530c10307015b2a34c3c218dd30 (diff) | |
download | pylint-a7de921b58d8529797cce8db606ef05492a87e02.tar.gz |
New style tuple syntax is only supported on Python >= 2.7
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -120,8 +120,8 @@ class MyInstallLib(install_lib.install_lib): for directory in include_dirs: dest = join(self.install_dir, base, directory) if sys.version_info >= (3, 0): - exclude = {'invalid_encoded_data*', - 'unknown_encoding*'} + exclude = set(['invalid_encoded_data*', + 'unkown_encoding*']) else: exclude = set() shutil.rmtree(dest, ignore_errors=True) |