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 | fee62650901a2f444ee7c1537f411f355dfa5dbe (patch) | |
tree | ff3641d6888ce74ee6dda65b21964e78d94b2d3e /setup.py | |
parent | bbc2ae9af1893776c2143df253de40d7dca43962 (diff) | |
download | pylint-git-fee62650901a2f444ee7c1537f411f355dfa5dbe.tar.gz |
New style tuple syntax is only supported on Python >= 2.7
--HG--
branch : hotfix/py26-compat
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) |