fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://s.mdrn.pl:2224/srv/redakcja.wolnelektury.pl/git
[redakcja.git]
/
src
/
catalogue
/
helpers.py
diff --git
a/src/catalogue/helpers.py
b/src/catalogue/helpers.py
index
d340b46
..
5954503
100644
(file)
--- a/
src/catalogue/helpers.py
+++ b/
src/catalogue/helpers.py
@@
-1,3
+1,6
@@
+# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from datetime import date
from functools import wraps
from os.path import join
from datetime import date
from functools import wraps
from os.path import join
@@
-87,7
+90,6
@@
class GalleryMerger(object):
self.src_size = len(files_other)
if files and files_other:
self.src_size = len(files_other)
if files and files_other:
- print "compare %s with %s" % (files[-1], files_other[0])
if filecmp.cmp(
join(self.path(self.dest), files[-1]),
join(self.path(self.src), files_other[0]),
if filecmp.cmp(
join(self.path(self.dest), files[-1]),
join(self.path(self.src), files_other[0]),