improved clarity Signed-off-by: Imesh Gunaratne <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/77010034 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/77010034 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/77010034 Branch: refs/heads/stratos-4.1.x Commit: 77010034cec6dcc3255d2baa81d1b96f2cc79cba Parents: cf49abc Author: Milindu Sanoj Kumarage <[email protected]> Authored: Thu Aug 6 10:29:35 2015 +0530 Committer: Imesh Gunaratne <[email protected]> Committed: Tue Oct 13 16:32:48 2015 +0530 ---------------------------------------------------------------------- .../org.apache.stratos.python.cli/src/main/python/cli/Utils.py | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/77010034/components/org.apache.stratos.python.cli/src/main/python/cli/Utils.py ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.python.cli/src/main/python/cli/Utils.py b/components/org.apache.stratos.python.cli/src/main/python/cli/Utils.py index 43ad375..4f64873 100644 --- a/components/org.apache.stratos.python.cli/src/main/python/cli/Utils.py +++ b/components/org.apache.stratos.python.cli/src/main/python/cli/Utils.py @@ -69,6 +69,7 @@ class PrintableTable(Texttable): def print_table(self): print(self.draw()) + class PrintableJSON(Texttable): def __init__(self, json): @@ -78,6 +79,7 @@ class PrintableJSON(Texttable): print(json.dumps(self.json, indent=4, separators=(',', ': '))) + def auth(func): """Authenticate""" def auth_inner(self, *args, **kwargs):
