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.
This commit is contained in:
Alex Vallee 2019-01-30 22:12:52 +08:00 committed by GitHub
parent 6e02ebc4b5
commit c6b67ac402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')