fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test - poprawki
[edumed.git]
/
catalogue
/
management
/
commands
/
republish.py
diff --git
a/catalogue/management/commands/republish.py
b/catalogue/management/commands/republish.py
index
941458f
..
48f9345
100644
(file)
--- a/
catalogue/management/commands/republish.py
+++ b/
catalogue/management/commands/republish.py
@@
-39,6
+39,8
@@
class Command(BaseCommand):
print '!!!!!! PARSE ERROR !!!!!!'
print e
print '!!!!!! PARSE ERROR !!!!!!'
print e
- print 'Rebuilding levels...'
- for level in Level.objects.all():
- level.build_packages()
+ if options.get('repackage'):
+ print 'Rebuilding levels...'
+ for level in Level.objects.all():
+ print level.name
+ level.build_packages()