[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix typo, and failure to unpack singleton tuple correctly.



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID d7b91e64bd4c84e9d123ed8efe45544a7a4fd667
# Parent  5b0a7cac1087f98f0a1b4f1c3aedac901bbad2ee
Fix typo, and failure to unpack singleton tuple correctly.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 5b0a7cac1087 -r d7b91e64bd4c tools/python/xen/xend/server/tpmif.py
--- a/tools/python/xen/xend/server/tpmif.py     Mon Nov 21 11:41:39 2005
+++ b/tools/python/xen/xend/server/tpmif.py     Mon Nov 21 11:42:47 2005
@@ -50,8 +50,7 @@
 
         result = DevController.configuration(self, devid)
 
-        (instance) = self.readBackend(devif,
-                                      'instance')
+        (instance,) = self.readBackend(devid, 'instance')
 
         if instance:
             result.append(['instance', instance])

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.