projects
/
dak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6debe0
)
we dont like -p, use shutil.copy instead of .copy2
author
Joerg Jaspert
<joerg@debian.org>
Sun, 16 Sep 2012 16:47:53 +0000
(18:47 +0200)
committer
Joerg Jaspert
<joerg@debian.org>
Sun, 16 Sep 2012 16:47:53 +0000
(18:47 +0200)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
daklib/fstransactions.py
patch
|
blob
|
history
diff --git
a/daklib/fstransactions.py
b/daklib/fstransactions.py
index 33f59c8c570072b989ab7cca301fc664c4c73ba5..d07139f9dc79caa71869e47a42f0f2a20e052e7b 100644
(file)
--- a/
daklib/fstransactions.py
+++ b/
daklib/fstransactions.py
@@
-57,9
+57,9
@@
class _FilesystemCopyAction(_FilesystemAction):
try:
os.link(source, self.destination)
except OSError:
- shutil.copy
2
(source, self.destination)
+ shutil.copy(source, self.destination)
else:
- shutil.copy
2
(source, self.destination)
+ shutil.copy(source, self.destination)
self.need_cleanup = True
if mode is not None: