[pkg-eucalyptus-commits] [SCM] managing cloud instances for Eucalyptus branch, master, updated. 3.0.0-alpha3-257-g1da8e3a
Garrett Holmstrom
gholms at fedoraproject.org
Sun Jun 16 02:29:47 UTC 2013
The following commit has been merged in the master branch:
commit ff255761d91f0d7845b475858dca1dff0635ab33
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date: Mon Apr 23 22:18:50 2012 -0700
Minor formatting fixes
diff --git a/euca2ools/commands/euca/__init__.py b/euca2ools/commands/euca/__init__.py
index 45c58a4..b2dc07c 100644
--- a/euca2ools/commands/euca/__init__.py
+++ b/euca2ools/commands/euca/__init__.py
@@ -217,11 +217,11 @@ class EucalyptusRequest(Euca2oolsRequest, TabifyingCommand):
blockdev.get('ebs', {}).get('deleteOnTermination')])
def print_volume(self, volume):
- print 'VOLUME', self.tabify([volume.get(attr) for attr in
+ print self.tabify(['VOLUME'] + [volume.get(attr) for attr in
('volumeId', 'size', 'snapshotId', 'availabilityZone',
'status', 'createTime')])
for attachment in volume.get('attachmentSet', []):
- print 'ATTACHMENT', self.tabify([volume.get('volumeId')] +
+ print self.tabify(['ATTACHMENT', volume.get('volumeId')] +
[attachment.get(attr) for attr in
('instanceId', 'device', 'status', 'attachTime')])
--
managing cloud instances for Eucalyptus
More information about the pkg-eucalyptus-commits
mailing list