diff configmix/config.py @ 396:a50f8fb16b05

Style
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 18 Nov 2021 22:14:34 +0100
parents 0b3ffc34fa5c
children 88239f28415c
line wrap: on
line diff
--- a/configmix/config.py	Thu Nov 18 18:30:59 2021 +0100
+++ b/configmix/config.py	Thu Nov 18 22:14:34 2021 +0100
@@ -164,7 +164,9 @@
         """
         varns, varname = self._split_ns(varname)
         if not varns:
-            varnameparts = [self.unquote(vp) for vp in varname.split(self._HIER_SEPARATOR)]
+            varnameparts = [
+                self.unquote(vp) for vp in varname.split(self._HIER_SEPARATOR)
+            ]
         else:
             varnameparts = (varname,)
         return self.getvarl(*varnameparts, namespace=varns, default=default)
@@ -667,7 +669,7 @@
                 self.unquote(p) for p in root.split(
                     self._HIER_SEPARATOR)
             ]
-            
+
         return _JailedConfiguration(self, *rootpath)
 
 
@@ -675,7 +677,7 @@
 
     """Chrooted into a subtree of the configuration  -- no namespace support"""
 
-    __slots__ = ("_base", "_path", "_pathstr" )
+    __slots__ = ("_base", "_path", "_pathstr")
 
     def __init__(self, config, *path):
         super(_JailedConfiguration, self).__init__()