Skip to content

Commit

Permalink
Fix non-pep8 comment
Browse files Browse the repository at this point in the history
  • Loading branch information
parejkoj committed Oct 26, 2017
1 parent 23d9d06 commit eb529c1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions python/lsst/pipe/base/cmdLineTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,10 @@ def __call__(self, args):
try:
result = task.run(dataRef, **kwargs)
except Exception as e:
exitStatus = 1 # n.b. The shell exit value is the number of dataRefs returning
# non-zero, so the actual value used here is lost

# The shell exit value will be the number of dataRefs returning
# non-zero, so the actual value used here is lost.
exitStatus = 1

# don't use a try block as we need to preserve the original exception
eName = type(e).__name__
if hasattr(dataRef, "dataId"):
Expand Down

0 comments on commit eb529c1

Please sign in to comment.