From: Michael Orlitzky Date: Thu, 12 May 2016 12:54:37 +0000 (-0400) Subject: Fix the last commit by allowing v12 in the version sanity check. X-Git-Tag: 0.0.4~2 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=untangle-https-backup.git;a=commitdiff_plain;h=d5116761228e2765fd720e67517ec51e2873a61f Fix the last commit by allowing v12 in the version sanity check. --- diff --git a/src/untangle/untangle.py b/src/untangle/untangle.py index f8fd795..39eeeaa 100644 --- a/src/untangle/untangle.py +++ b/src/untangle/untangle.py @@ -22,7 +22,7 @@ class Untangle: self.base_url = 'https://' + self.host + '/' # This never changes # Sanity check the numerical version. - if self.version not in [9, 11]: + if self.version not in [9, 11, 12]: msg = 'Invalid version "' + str(self.version) + '" ' msg += 'in section "' + s.name + '"' raise configparser.ParsingError(msg)