mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 01:46:13 +01:00
- checkout files with mode 0644
This commit is contained in:
parent
f16cc7e667
commit
663ae2df1e
@ -2724,6 +2724,7 @@ def get_source_file(apiurl, prj, package, filename, targetfilename=None, revisio
|
||||
o.write(buf)
|
||||
o.close()
|
||||
shutil.move(tmpfile, targetfilename or filename)
|
||||
os.chmod(targetfilename or filename, 0644)
|
||||
except:
|
||||
os.unlink(tmpfile)
|
||||
raise
|
||||
|
Loading…
Reference in New Issue
Block a user