Skip to content

Commit f64ee6b

Browse files
authored
Merge pull request #72 from cjwatson/exception-typo
Fix typo in exception handler
2 parents 319b70b + 4fbaa58 commit f64ee6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: python/subunit/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ def _handleTime(self, offset, line):
575575
event_time = iso8601.parse_date(line[offset:-1].decode())
576576
except TypeError:
577577
raise TypeError(_u("Failed to parse %r, got %r")
578-
% (line, sys.exec_info[1]))
578+
% (line, sys.exc_info()[1]))
579579
self.client.time(event_time)
580580

581581
def lineReceived(self, line):

0 commit comments

Comments
 (0)