From bdf59a9f9f6abeaa39ca8c2a3e2ede1b2d7362ee Mon Sep 17 00:00:00 2001 From: kstaniek Date: Sat, 11 Jan 2014 14:21:34 +0100 Subject: [PATCH] Fix for Bug #1103218 This is a fix proposal for https://bugs.launchpad.net/python-openstackclient/+bug/1103218 --- openstackclient/shell.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openstackclient/shell.py b/openstackclient/shell.py index 76cc3c6a90..56c9328238 100644 --- a/openstackclient/shell.py +++ b/openstackclient/shell.py @@ -480,6 +480,7 @@ def interact(self): # this path does not call prepare_to_run_command() self.authenticate_user() self.restapi.set_auth(self.client_manager.identity.auth_token) + sys.argv =[] #fix for https://bugs.launchpad.net/python-openstackclient/+bug/1103218 super(OpenStackShell, self).interact()