fix an error message in invirt-getconf --ls
authorGreg Price <price@mit.edu>
Thu, 31 Jul 2008 03:04:31 +0000 (23:04 -0400)
committerGreg Price <price@mit.edu>
Thu, 31 Jul 2008 03:04:31 +0000 (23:04 -0400)
svn path=/trunk/packages/sipb-xen-base/; revision=802

debian/changelog
files/usr/sbin/invirt-getconf

index d6dfb7a..b31c97d 100644 (file)
@@ -1,3 +1,9 @@
+sipb-xen-base (8.13) unstable; urgency=low
+
+  * fix an error message
+
+ -- Greg Price <price@mit.edu>  Wed, 30 Jul 2008 23:04:07 -0400
+
 sipb-xen-base (8.12) unstable; urgency=low
 
   [ Greg Price ]
index 06c0aa7..4721212 100755 (executable)
@@ -67,7 +67,8 @@ def main(argv):
         if opts.ls:
             if type(conf) not in (dict, list):
                 raise invirt_exception(
-                        '%s: node has no children (atomic datum)' % progress)
+                        '%s: node has no children (atomic datum)'
+                        % '.'.join(components))
             if type(conf) == list:
                 for i in xrange(len(conf)):
                     print i