Index: test/sputnik/testcfg.py |
=================================================================== |
--- test/sputnik/testcfg.py (revision 7582) |
+++ test/sputnik/testcfg.py (working copy) |
@@ -57,7 +57,7 @@ |
def AfterRun(self, result): |
# Dispose the temporary file if everything looks okay. |
- if result is None or not result.HasPreciousOutput(): self.tmpfile.Dispose() |
+ if not result.HasPreciousOutput(): self.tmpfile.Dispose() |
self.tmpfile = None |
def GetCommand(self): |