From: Greg Price <price@mit.edu>
Date: Thu, 31 Jul 2008 03:04:31 +0000 (-0400)
Subject: fix an error message in invirt-getconf --ls
X-Git-Tag: sipb-xen-base/8.14~5
X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-base.git/commitdiff_plain/187e97cf6595364c6e8553cf313949fd5d590740

fix an error message in invirt-getconf --ls

svn path=/trunk/packages/sipb-xen-base/; revision=802
---

diff --git a/debian/changelog b/debian/changelog
index d6dfb7a..b31c97d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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 ]
diff --git a/files/usr/sbin/invirt-getconf b/files/usr/sbin/invirt-getconf
index 06c0aa7..4721212 100755
--- a/files/usr/sbin/invirt-getconf
+++ b/files/usr/sbin/invirt-getconf
@@ -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