diff options
author | Alex Vallee <avallee@google.com> | 2019-01-30 14:12:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-30 14:12:52 (GMT) |
commit | c6b67ac4024f29130cf3d7b45a3a25ec697737f6 (patch) | |
tree | d61534919a6fdd56af6715deecfb04ac93401618 /misc | |
parent | 6e02ebc4b5947095fa64b5bf814f14dd6f6f6a9a (diff) | |
download | Ninja-c6b67ac4024f29130cf3d7b45a3a25ec697737f6.zip Ninja-c6b67ac4024f29130cf3d7b45a3a25ec697737f6.tar.gz Ninja-c6b67ac4024f29130cf3d7b45a3a25ec697737f6.tar.bz2 |
ninja_syntax.py: remove unused has_path argument
The usage of the parameter was removed a long time ago and was never cleaned up. The argument is not provided in the test.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/ninja_syntax.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/ninja_syntax.py b/misc/ninja_syntax.py index 051bac1..ebe6490 100644 --- a/misc/ninja_syntax.py +++ b/misc/ninja_syntax.py @@ -21,7 +21,7 @@ class Writer(object): def newline(self): self.output.write('\n') - def comment(self, text, has_path=False): + def comment(self, text): for line in textwrap.wrap(text, self.width - 2, break_long_words=False, break_on_hyphens=False): self.output.write('# ' + line + '\n') |