[1.9.x] Fixed SyntaxWarning in a user_commands test.
This commit is contained in:
parent
8e23527075
commit
623b8c99fe
|
@ -16,7 +16,5 @@ class Command(BaseCommand):
|
||||||
options["example"]
|
options["example"]
|
||||||
# BaseCommand default option is available
|
# BaseCommand default option is available
|
||||||
options['verbosity']
|
options['verbosity']
|
||||||
assert (
|
assert isinstance(options['verbosity'], int)
|
||||||
isinstance(options['verbosity'], int), "verbosity option is not int, but %s" % type(options['verbosity'])
|
|
||||||
)
|
|
||||||
self.stdout.write("All right, let's dance %s." % options["style"])
|
self.stdout.write("All right, let's dance %s." % options["style"])
|
||||||
|
|
Loading…
Reference in New Issue