[zorg] r173818 - Use a proper error instead of a language error to signal an abstract method.
Michael Gottesman
mgottesman at apple.com
Tue Jan 29 10:50:37 PST 2013
Author: mgottesman
Date: Tue Jan 29 12:50:37 2013
New Revision: 173818
URL: http://llvm.org/viewvc/llvm-project?rev=173818&view=rev
Log:
Use a proper error instead of a language error to signal an abstract method.
Modified:
zorg/trunk/zorg/buildbot/commands/StandardizedTest.py
Modified: zorg/trunk/zorg/buildbot/commands/StandardizedTest.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/commands/StandardizedTest.py?rev=173818&r1=173817&r2=173818&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/commands/StandardizedTest.py (original)
+++ zorg/trunk/zorg/buildbot/commands/StandardizedTest.py Tue Jan 29 12:50:37 2013
@@ -32,7 +32,7 @@ class StandardizedTest(buildbot.steps.sh
def parseLog(self, log_lines):
"""parseLog(log_lines) -> [(result_code, test_name, test_log), ...]"""
- abstract
+ raise RuntimeError("Abstract method.")
def evaluateCommand(self, cmd):
results_by_code = {}
More information about the llvm-commits
mailing list