From c6b67ac4024f29130cf3d7b45a3a25ec697737f6 Mon Sep 17 00:00:00 2001 From: Alex Vallee Date: Wed, 30 Jan 2019 22:12:52 +0800 Subject: 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. --- misc/ninja_syntax.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- cgit v0.12