[pkg-eucalyptus-commits] [euca2ools] 01/02: Fix GetConsoleOutput crash when we get no output
Charles Plessy
plessy at alioth.debian.org
Sat Oct 12 03:25:31 UTC 2013
This is an automated email from the git hooks/post-receive script.
plessy pushed a commit to annotated tag 2.1.4
in repository euca2ools.
commit e58d9c854d9133988bbb1f88a28b7a7b8727e3ff
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date: Tue May 7 15:22:26 2013 -0700
Fix GetConsoleOutput crash when we get no output
---
euca2ools/commands/euca/getconsoleoutput.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/euca2ools/commands/euca/getconsoleoutput.py b/euca2ools/commands/euca/getconsoleoutput.py
index a5f235b..a939ccd 100644
--- a/euca2ools/commands/euca/getconsoleoutput.py
+++ b/euca2ools/commands/euca/getconsoleoutput.py
@@ -48,7 +48,7 @@ class GetConsoleOutput(euca2ools.commands.eucacommand.EucaCommand):
def display_console_output(self, console_output):
print console_output.instance_id
print console_output.timestamp
- output = console_output.output
+ output = console_output.output or ''
if not self.raw:
# Escape control characters
esc_ords = (list(range(0x00, 0x09)) + list(range(0x0e, 0x1f)) +
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-eucalyptus/euca2ools.git
More information about the pkg-eucalyptus-commits
mailing list