From d5116761228e2765fd720e67517ec51e2873a61f Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 12 May 2016 08:54:37 -0400 Subject: [PATCH] Fix the last commit by allowing v12 in the version sanity check. --- src/untangle/untangle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.44.2