summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Vallee <avallee@google.com>2019-01-30 22:12:52 +0800
committerGitHub <noreply@github.com>2019-01-30 22:12:52 +0800
commitc6b67ac4024f29130cf3d7b45a3a25ec697737f6 (patch)
treed61534919a6fdd56af6715deecfb04ac93401618
parent6e02ebc4b5947095fa64b5bf814f14dd6f6f6a9a (diff)
downloadninja-c6b67ac4024f29130cf3d7b45a3a25ec697737f6.tar.gz
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.
-rw-r--r--misc/ninja_syntax.py2
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')