incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mlsoren...@apache.org
Subject [23/50] git commit: cli: Show filter only when a subject is specified in autocompletion
Date Wed, 30 Jan 2013 20:55:08 GMT
cli: Show filter only when a subject is specified in autocompletion

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 7ea83b82e63bc40c5fa38f7aae2032690aa7883c)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/59d01bfe
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/59d01bfe
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/59d01bfe

Branch: refs/heads/add_remove_nics
Commit: 59d01bfe2049ac1589d4bedb431cae53139c8150
Parents: 99a04a4
Author: Rohit Yadav <bhaisaab@apache.org>
Authored: Mon Jan 28 16:30:04 2013 -0800
Committer: Rohit Yadav <bhaisaab@apache.org>
Committed: Mon Jan 28 16:31:12 2013 -0800

----------------------------------------------------------------------
 tools/cli/cloudmonkey/cloudmonkey.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/59d01bfe/tools/cli/cloudmonkey/cloudmonkey.py
----------------------------------------------------------------------
diff --git a/tools/cli/cloudmonkey/cloudmonkey.py b/tools/cli/cloudmonkey/cloudmonkey.py
index ecd0c82..6487724 100644
--- a/tools/cli/cloudmonkey/cloudmonkey.py
+++ b/tools/cli/cloudmonkey/cloudmonkey.py
@@ -400,7 +400,7 @@ class CloudMonkeyShell(cmd.Cmd, object):
                                   self.cache_verbs[verb][subject][1])
             search_string = text
 
-        if self.tabularize == "true":
+        if self.tabularize == "true" and subject != "":
             autocompletions.append("filter=")
         return [s for s in autocompletions if s.startswith(search_string)]
 


Mime
View raw message