From 939389958075aa504ac5f87bd0569c67a2366324 Mon Sep 17 00:00:00 2001 From: Vibhaj Rajan Date: Mon, 9 May 2016 12:22:07 +0530 Subject: [PATCH 1/2] key in options fix --- browserstack/local.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/browserstack/local.py b/browserstack/local.py index 16c7cfc..210f24c 100644 --- a/browserstack/local.py +++ b/browserstack/local.py @@ -26,8 +26,13 @@ def _generate_cmd(self): def start(self, **kwargs): self.options = kwargs + if 'key' in self.options: + self.key = self.options['key'] + del self.options['key'] + if 'binarypath' in self.options: self.binary_path = binary_path + del self.options['binarypath'] else: self.binary_path = LocalBinary().get_binary() @@ -35,7 +40,7 @@ def start(self, **kwargs): self.local_logfile_path = self.options['logfile'] del self.options['logfile'] - if "onlyCommand" in kwargs and kwargs["onlyCommand"]: + if "onlyCommand" in kwargs and kwargs["onlyCommand"]: return self.proc = subprocess.Popen(self._generate_cmd(), stdout=subprocess.PIPE) From 2983bb4613341f0a5b300313bed551a5cd01cd3c Mon Sep 17 00:00:00 2001 From: Vibhaj Rajan Date: Mon, 9 May 2016 12:25:45 +0530 Subject: [PATCH 2/2] bumped up version --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 657689b..3d2e13e 100644 --- a/setup.py +++ b/setup.py @@ -2,12 +2,12 @@ setup( name = 'browserstack-local', packages = ['browserstack'], - version = '0.3.0', + version = '0.3.1', description = 'Python bindings for Browserstack Local', author = 'BrowserStack', author_email = 'support@browserstack.com', url = 'https://github.com/browserstack/browserstack-local-python', - download_url = 'https://github.com/browserstack/browserstack-local-python/archive/v0.1.0.tar.gz', + download_url = 'https://github.com/browserstack/browserstack-local-python/archive/master.zip', keywords = ['BrowserStack', 'Local', 'selenium', 'testing'], classifiers = [], )