Skip to content
Snippets Groups Projects
Commit 46190866 authored by Piotr Ożarowski's avatar Piotr Ożarowski
Browse files

pycompile: --exclude now works with private dirs

parent 8ab9cf57
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ python-defaults (2.6.6-11) UNRELEASED; urgency=low
- replace a file with a symlink also if there's a matching one in
pyshared directory already
- add support for DH_OPTIONS env. variable
* pycompile: --exclude now works with private dirs
-- Piotr Ożarowski <piotr@debian.org> Sat, 15 Jan 2011 21:14:38 +0100
......
......@@ -128,6 +128,8 @@ def get_exclude_patterns(directory='/', patterns=None, versions=None):
if patterns:
if versions is None:
versions = set(SUPPORTED)
else:
versions = set(versions)
patterns = [('re', versions, directory, i) for i in patterns]
else:
patterns = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment