fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
style
[redakcja.git]
/
apps
/
catalogue
/
management
/
commands
/
__init__.py
diff --git
a/apps/catalogue/management/commands/__init__.py
b/apps/catalogue/management/commands/__init__.py
index
e6f146f
..
d3792af
100644
(file)
--- a/
apps/catalogue/management/commands/__init__.py
+++ b/
apps/catalogue/management/commands/__init__.py
@@
-16,15
+16,20
@@
class XmlUpdaterCommand(BaseCommand):
In a subclass, provide an XmlUpdater class in the `updater' attribute.
"""
option_list = BaseCommand.option_list + (
In a subclass, provide an XmlUpdater class in the `updater' attribute.
"""
option_list = BaseCommand.option_list + (
- make_option('-q', '--quiet', action='store_false', dest='verbose',
+ make_option(
+ '-q', '--quiet', action='store_false', dest='verbose',
default=True, help='Less output'),
default=True, help='Less output'),
- make_option('-d', '--dry-run', action='store_true', dest='dry_run',
+ make_option(
+ '-d', '--dry-run', action='store_true', dest='dry_run',
default=False, help="Don't actually touch anything"),
default=False, help="Don't actually touch anything"),
- make_option('-u', '--username', dest='username', metavar='USER',
+ make_option(
+ '-u', '--username', dest='username', metavar='USER',
help='Assign commits to this user (required, preferably yourself).'),
)
args = "[slug]..."
help='Assign commits to this user (required, preferably yourself).'),
)
args = "[slug]..."
+ updater = NotImplemented
+
def handle(self, *args, **options):
verbose = options.get('verbose')
dry_run = options.get('dry_run')
def handle(self, *args, **options):
verbose = options.get('verbose')
dry_run = options.get('dry_run')