From 2c3f27bbc42011ba97aa3960ad54a164c638a537 Mon Sep 17 00:00:00 2001 From: Scott Bahling Date: Mon, 3 Feb 2020 09:04:28 +0100 Subject: Disable retries for now Probably should make this a configurable setting --- obsapi/httpapi.py | 2 +- setup.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/obsapi/httpapi.py b/obsapi/httpapi.py index c8ca03d..008500b 100644 --- a/obsapi/httpapi.py +++ b/obsapi/httpapi.py @@ -31,7 +31,7 @@ class ObsHttpApi(object): self.apiurl = apiurl self._auth = {} self._response = Null() - self.retries = 3 + self.retries = 0 self.verify_ssl = True @property diff --git a/setup.py b/setup.py index a9c1eac..c1298c2 100644 --- a/setup.py +++ b/setup.py @@ -57,6 +57,7 @@ setup( 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3.7', ), # entry_points={ # 'console_scripts': [ -- cgit v1.2.3