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

dh_python2: pass shallow=False to cmpfiles to make sure only exactly the same...

dh_python2: pass shallow=False to cmpfiles to make sure only exactly the same files are moved to pyshared
parent acfaa480
No related branches found
No related tags found
No related merge requests found
python-defaults (2.6.5-13) UNRELEASED; urgency=low
python-defaults (2.6.5-13) unstable; urgency=low
[ Scott Kitterman ]
* Python policy changes for X-Python-Version and X-Python3-Version
......@@ -8,9 +8,12 @@ python-defaults (2.6.5-13) UNRELEASED; urgency=low
[ Piotr Ożarowski ]
* Fix documentation typo in pycompile/pycompile.1
* dh_python2: Add support for X-Python-Version
* dh_python2:
- pass shallow=False to cmpfiles to make sure only exactly the same files
are moved to pyshared
- add support for X-Python-Version
-- Scott Kitterman <scott@kitterman.com> Tue, 10 Aug 2010 22:27:20 -0400
-- Piotr Ożarowski <piotr@debian.org> Fri, 13 Aug 2010 22:39:37 +0200
python-defaults (2.6.5-12) unstable; urgency=low
......
......@@ -224,7 +224,7 @@ def share_2x(dir1, dir2, dc=None):
common_dirs = dc.subdirs.iteritems()
common_files = dc.common_files
# dircmp returns common names only, lets check files more carefully...
common_files = cmpfiles(dir1, dir2, common_files)[0]
common_files = cmpfiles(dir1, dir2, common_files, shallow=False)[0]
for fn in common_files:
fpath1 = join(dir1, fn)
......
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