Michael Pasternak has uploaded a new change for review.

Change subject: cli: auto complete suggests "from_event_id" while it shouldnt 
#886792
......................................................................

cli: auto complete suggests "from_event_id" while it shouldnt #886792

https://bugzilla.redhat.com/show_bug.cgi?id=886792

Change-Id: I76fa563cb5a1d35b71eec01670b03239ddb92379
Signed-off-by: Michael Pasternak <[email protected]>
---
M src/ovirtcli/utils/autocompletionhelper.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-cli refs/changes/02/10102/1

diff --git a/src/ovirtcli/utils/autocompletionhelper.py 
b/src/ovirtcli/utils/autocompletionhelper.py
index df27ded..4b2394d 100644
--- a/src/ovirtcli/utils/autocompletionhelper.py
+++ b/src/ovirtcli/utils/autocompletionhelper.py
@@ -26,7 +26,7 @@
                     if val and val != '': vals.append(val.strip())
 
                 if common_options:
-                    vals.extend(common_options)
+                    vals.extend(common_options[:])
 
                 mp[key] = vals
 
@@ -37,7 +37,7 @@
                     mp[key].extend(specific_arguments[key])
             else:
                 if common_options:
-                    mp[key] = common_options
+                    mp[key] = common_options[:]
                 else:
                     mp[key] = []
 


--
To view, visit http://gerrit.ovirt.org/10102
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I76fa563cb5a1d35b71eec01670b03239ddb92379
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-cli
Gerrit-Branch: master
Gerrit-Owner: Michael Pasternak <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to