return deferred for proper command line behavior
This commit is contained in:
parent
ce2516ab2c
commit
837322478b
@ -47,4 +47,6 @@ class Command(BaseCommand):
|
|||||||
for key, value in status.items():
|
for key, value in status.items():
|
||||||
self.console.write("{!info!}%s: {!input!}%s" % (key, value))
|
self.console.write("{!info!}%s: {!input!}%s" % (key, value))
|
||||||
|
|
||||||
client.core.get_cache_status().addCallback(on_cache_status)
|
d = client.core.get_cache_status()
|
||||||
|
d.addCallback(on_cache_status)
|
||||||
|
return d
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user