diff --git a/src/besapi/besapi.py b/src/besapi/besapi.py index be99736..15a61fc 100644 --- a/src/besapi/besapi.py +++ b/src/besapi/besapi.py @@ -77,7 +77,6 @@ def elem2dict(node): else: value = elem2dict(element) if key in result: - if type(result[key]) is list: result[key].append(value) else: @@ -196,7 +195,6 @@ class BESConnection: """BigFix RESTAPI connection abstraction class""" def __init__(self, username, password, rootserver, verify=False): - if not verify: # disable SSL warnings requests.packages.urllib3.disable_warnings() # pylint: disable=no-member diff --git a/src/bescli/bescli.py b/src/bescli/bescli.py index 4e70558..d5533c0 100644 --- a/src/bescli/bescli.py +++ b/src/bescli/bescli.py @@ -111,7 +111,6 @@ def do_conf(self, conf_file=None): self.conf_path = found_config_files[0] if self.CONFPARSER: - try: self.BES_ROOT_SERVER = self.CONFPARSER.get("besapi", "BES_ROOT_SERVER") except BaseException: