Skip to content

Commit

Permalink
Removed debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilipp committed Jan 3, 2018
1 parent f477b71 commit 226d066
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docrep/__init__.py
Expand Up @@ -252,12 +252,10 @@ def get_sections(self, s, base,
if not sections_patt.match(s):
# remove the summary
lines = summary_patt.sub('', s, 1).splitlines()
print(lines)
# look for the first line with content
first = next((i for i, l in enumerate(lines) if l.strip()), 0)
# dedent the lines
s = dedents('\n' + '\n'.join(lines[first:]))
print(s)
for section in sections:
key = '%s.%s' % (base, section.lower().replace(' ', '_'))
params[key] = self._get_section(s, section)
Expand Down

0 comments on commit 226d066

Please sign in to comment.