]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1901] small style fixes
authorJelte Jansen <jelte@isc.org>
Fri, 1 Feb 2013 13:31:00 +0000 (14:31 +0100)
committerJelte Jansen <jelte@isc.org>
Fri, 1 Feb 2013 13:31:00 +0000 (14:31 +0100)
src/lib/python/isc/config/cfgmgr.py
src/lib/python/isc/config/tests/cfgmgr_test.py

index 7d3a14f09eff67baba222c67421eccc243e92730..4e71030a2678a13093c2206a49e1e762ff1eee26 100644 (file)
@@ -90,10 +90,15 @@ class ConfigManagerData:
 
         # Don't know what to do if it is more recent
         if data_version > config_data.BIND10_CONFIG_DATA_VERSION:
-            raise ConfigManagerDataReadError("Cannot load configuration file: version %d not yet supported" % config['version'])
+            raise ConfigManagerDataReadError(
+                      "Cannot load configuration file: version "
+                      "%d not yet supported" % config['version'])
+
         # At some point we might give up supporting older versions
         if data_version < 1:
-            raise ConfigManagerDataReadError("Cannot load configuration file: version %d no longer supported" % config['version'])
+            raise ConfigManagerDataReadError(
+                      "Cannot load configuration file: version "
+                      "%d no longer supported" % config['version'])
 
         # Ok, so we have a still-supported older version. Apply all
         # updates
index f3b410cc9a9a1cbe7cd57b6be4d1ac7ec3c7f57a..d99fb863e7f3b6323748e6260729e74581df3b1e 100644 (file)
@@ -92,7 +92,6 @@ class TestConfigManagerData(unittest.TestCase):
         config['version'] = config_data.BIND10_CONFIG_DATA_VERSION
         self.assertEqual(config, updated)
 
-
     def test_read_from_file(self):
         ConfigManagerData.read_from_file(self.writable_data_path, "b10-config.db")
         self.assertRaises(ConfigManagerDataEmpty,