fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d55ea60
)
minor fix
author
Jan Szejko
<janek37@gmail.com>
Wed, 30 Aug 2017 10:01:52 +0000
(12:01 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Wed, 30 Aug 2017 10:01:52 +0000
(12:01 +0200)
apps/catalogue/management/commands/mark_final.py
patch
|
blob
|
history
diff --git
a/apps/catalogue/management/commands/mark_final.py
b/apps/catalogue/management/commands/mark_final.py
index
91281bb
..
5fe025e
100644
(file)
--- a/
apps/catalogue/management/commands/mark_final.py
+++ b/
apps/catalogue/management/commands/mark_final.py
@@
-41,7
+41,7
@@
class Command(BaseCommand):
print 'processing %s' % book.slug
chunk = book.chunk_set.first()
src = chunk.head.materialize()
-
new_head =
chunk.commit(
+ chunk.commit(
text=src,
author=user,
description=u'Ostateczna akceptacja merytoryczna przez kierownika literackiego.',
@@
-49,4
+49,3
@@
class Command(BaseCommand):
publishable=True
)
print 'committed %s' % book.slug
- new_head.set_publishable(True)