Author: gnichols
Date: 2010-03-09 02:53:15 +0000 (Tue, 09 Mar 2010)
New Revision: 426
Modified:
trunk/tests/info/info.py
Log:
571599 - info test traceback on info test v7 rpm verification
Modified: trunk/tests/info/info.py
===================================================================
--- trunk/tests/info/info.py 2010-03-09 01:18:06 UTC (rev 425)
+++ trunk/tests/info/info.py 2010-03-09 02:53:15 UTC (rev 426)
@@ -87,7 +87,7 @@
rpmVerify = Command("rpm -V --nomtime --nomode --nocontexts v7")
try:
rpmVerify.echo()
- if len(rpmVerify.output) > 0 and "not installed" in
rpmVerify.output[0]:
+ if rpmVerify.output and len(rpmVerify.output) > 0 and "not
installed" in rpmVerify.output[0]:
return False
return True
except V7CommandException, e:
Show replies by date