Rename invirt_exception to InvirtException
authorBen Steffen <bds@mit.edu>
Tue, 26 Nov 2019 05:35:44 +0000 (00:35 -0500)
committerBen Steffen <bds@mit.edu>
Tue, 26 Nov 2019 05:35:44 +0000 (00:35 -0500)
scripts/invirt-getconf

index 6156427..d56b06f 100755 (executable)
@@ -16,9 +16,6 @@ Examples:
   invirt-getconf hosts.0.ip
 """
 
-
-class invirt_exception(Exception): pass
-
 def main(argv):
     try:
         parser = OptionParser(usage = '%prog [options] key',
@@ -41,6 +38,10 @@ import yaml
 
 import invirt
 
+
+class InvirtException(Exception):
+    pass
+
         else:
             components = []