Skip to content

Commit

Permalink
During refactoring I introduced an indentation error in the Emma code…
Browse files Browse the repository at this point in the history
…. This patch fixes it.
  • Loading branch information
John Ioannidis committed May 14, 2014
1 parent 6a8d82b commit 776f987
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/python/pants/tasks/junit_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,13 +397,13 @@ def instrument(self, targets, tests, junit_classpath):
]
for pattern in patterns:
args.extend(['-filter', pattern])
main = 'emma'
result = execute_java(classpath=emma_classpath, main=main, args=args,
workunit_factory=self._context.new_workunit,
workunit_name='emma-instrument')
if result != 0:
raise TaskError("java %s ... exited non-zero (%i)"
" 'failed to instrument'" % (main, result))
main = 'emma'
result = execute_java(classpath=emma_classpath, main=main, args=args,
workunit_factory=self._context.new_workunit,
workunit_name='emma-instrument')
if result != 0:
raise TaskError("java %s ... exited non-zero (%i)"
" 'failed to instrument'" % (main, result))

def run(self, targets, tests, junit_classpath):
emma_classpath = self._task_exports.tool_classpath(self._emma_bootstrap_key)
Expand Down

0 comments on commit 776f987

Please sign in to comment.