This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch pu/reproducible_builds
in repository dh-python.

commit 2c1cbe04e475890ada60624247263cecfc56f6c7
Author: Piotr Ożarowski <pi...@debian.org>
Date:   Tue Jul 2 21:28:53 2013 +0200

    fix UNWANTED_DIRS to match __pycache__ (without slash)
---
 dhpython/fs.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dhpython/fs.py b/dhpython/fs.py
index 05b9bb2..1fae2a6 100644
--- a/dhpython/fs.py
+++ b/dhpython/fs.py
@@ -92,8 +92,8 @@ def share_files(srcdir, dstdir, interpreter):
 
 
 class Scan:
-    UNWANTED_DIRS = re.compile('.*/__pycache__/.*')
-    UNWANTED_FILES = re.compile('.*\.py[co]')
+    UNWANTED_DIRS = re.compile(r'.*/__pycache__(/.*)?$')
+    UNWANTED_FILES = re.compile(r'.*\.py[co]$')
 
     def __init__(self, interpreter, package, dpath=None, options=None):
         self.interpreter = interpreter

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/reproducible/dh-python.git

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to