Formatting fixes
[invirt/packages/invirt-base.git] / scripts / invirt-getconf
index 07e475b..e5da205 100755 (executable)
@@ -20,7 +20,7 @@ import argparse
 import sys
 import yaml
 
-import invirt
+import invirt.config
 
 
 class PathResolutionException(Exception):
@@ -46,7 +46,7 @@ def main():
                 component = int(component)
             except ValueError:
                 raise PathResolutionException(f'{progress}: node is a list; integer path component required, '
-                                      'but got "{component}"')
+                                              'but got "{component}"')
 
             try:
                 conf = conf[component]