Skip to content

Commit

Permalink
remove something that wasn't ultimately used
Browse files Browse the repository at this point in the history
  • Loading branch information
swryan committed Nov 8, 2017
1 parent f994a5c commit 1f7e5b2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions openmdao/docs/_utils/docutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,7 @@ def get_test_src(method_path):
newline = line[tab:]

# exclude 'global' directives, not needed the way we are running things
# also exclude anything with the '# nodoc' tag at the end of the line
if not newline.startswith("global ") or newline.endswith("# nodoc"):
if not newline.startswith("global "):
new_lines.append(newline)

method_source = '\n'.join(new_lines[counter:])
Expand Down

0 comments on commit 1f7e5b2

Please sign in to comment.