mirror of
https://github.com/boostorg/python.git
synced 2026-01-21 05:02:17 +00:00
- Fixed bug where the permission bits were being copied to the tmp file
[SVN r17934]
This commit is contained in:
@@ -59,7 +59,7 @@ class CppParser:
|
||||
if tail:
|
||||
tempfilename = tempfile.mktemp('.h')
|
||||
infilename = tempfilename
|
||||
shutil.copy(filename, infilename)
|
||||
shutil.copyfile(filename, infilename)
|
||||
f = file(infilename, 'a')
|
||||
f.write('\n\n'+tail)
|
||||
f.close()
|
||||
|
||||
Reference in New Issue
Block a user