Skip to content

Commit

Permalink
handled any key_name for accounts/:account_identifier/storage/kv/name…
Browse files Browse the repository at this point in the history
…spaces/:namespace_identifier/values/:key_name
  • Loading branch information
mahtin committed Jun 17, 2020
1 parent dc07708 commit 355ae5d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cli4/cli4.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,11 @@ def run_command(cf, method, command, params=None, content=None, files=None):
elif waf_rules.match(element):
identifier3 = element
else:
sys.stderr.write('/%s/%s :NOT CODED YET 3\n' % ('/'.join(cmd), element))
raise e
if len(cmd) >= 6 and cmd[0] == 'accounts' and cmd[2] == 'storage' and cmd[3] == 'kv' and cmd[4] == 'namespaces' and cmd[6] == 'values':
identifier3 = element
else:
sys.stderr.write('/%s/%s :NOT CODED YET 3\n' % ('/'.join(cmd), element))
raise e
else:
try:
m = getattr(m, element)
Expand Down

0 comments on commit 355ae5d

Please sign in to comment.