check for account ID param
This commit is contained in:
parent
76429c5f29
commit
e3cc16a156
1 changed files with 3 additions and 0 deletions
|
|
@ -134,6 +134,9 @@ class Boobank(ReplApplication):
|
||||||
Display old operations.
|
Display old operations.
|
||||||
"""
|
"""
|
||||||
id, backend_name = self.parse_id(id)
|
id, backend_name = self.parse_id(id)
|
||||||
|
if not id:
|
||||||
|
print >>sys.stderr, 'Error: please give an account ID (hint: use list command)'
|
||||||
|
return 1
|
||||||
names = (backend_name,) if backend_name is not None else None
|
names = (backend_name,) if backend_name is not None else None
|
||||||
|
|
||||||
def do(backend):
|
def do(backend):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue