Skip to content

Commit

Permalink
PyCQA#321 - fix newline exception bug
Browse files Browse the repository at this point in the history
  • Loading branch information
shacharoo committed Oct 14, 2018
1 parent 436bdf7 commit 60d1099
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pydocstyle/parser.py
Expand Up @@ -564,9 +564,8 @@ def parse_definition(self, class_):
skipped_error_codes)
for child in definition.children:
child.parent = definition
self.log.debug("finished parsing %s '%s'. Next token is %r (%s)",
class_.__name__, name, self.current.kind,
self.current.value)
self.log.debug("finished parsing %s '%s'. Next token is %r",
class_.__name__, name, self.current)
return definition

def parse_skip_comment(self):
Expand Down

0 comments on commit 60d1099

Please sign in to comment.