Allow read-only files to be overwritten
Submitted by Amit Chakradeo
This commit is contained in:
parent
3cd0e7149b
commit
cece1e68b8
1
THANKS
1
THANKS
@ -14,6 +14,7 @@ Harry Fuecks - default item date to feed date
|
||||
Antonio Cavedoni - Django templates
|
||||
Morten Frederiksen - expungeCache
|
||||
Lenny Domnitser - Coral CDN support for URLs with non-standard ports
|
||||
Amit Chakradeo - Allow read-only files to be overwritten
|
||||
|
||||
This codebase represents a radical refactoring of Planet 2.0, which lists
|
||||
the following contributors:
|
||||
|
@ -131,5 +131,6 @@ def apply(doc):
|
||||
if not os.path.exists(dest_dir): os.makedirs(dest_dir)
|
||||
|
||||
log.info("Copying %s to %s", source, dest)
|
||||
if os.path.exists(dest): os.chmod(dest, 0644)
|
||||
shutil.copyfile(source, dest)
|
||||
shutil.copystat(source, dest)
|
||||
|
Loading…
Reference in New Issue
Block a user