mirror of https://gitlab.com/ita1024/waf.git
Duplicate code
This commit is contained in:
parent
8520dd65bb
commit
d2ba87b296
|
@ -315,7 +315,7 @@ def stealth_write(self, data, flags='wb'):
|
|||
data = data.decode(sys.getfilesystemencoding(), 'replace')
|
||||
data = data.encode('utf-8')
|
||||
|
||||
if self.name.endswith('.project') or self.name.endswith('.project'):
|
||||
if self.name.endswith('.project'):
|
||||
data = BOM + data
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue