Author: Armin Rigo <[email protected]>
Branch:
Changeset: r514:c9f385692369
Date: 2011-06-08 16:39 +0200
http://bitbucket.org/pypy/buildbot/changeset/c9f385692369/
Log: Normalize the permissions of the file after upload.
diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py
--- a/bot2/pypybuildbot/builds.py
+++ b/bot2/pypybuildbot/builds.py
@@ -33,6 +33,13 @@
self.masterdest = masterdest
transfer.FileUpload.start(self)
+ def finished(self, *args, **kwds):
+ transfer.FileUpload.finished(self, *args, **kwds)
+ try:
+ os.chmod(self.masterdest, 0644)
+ except OSError:
+ pass
+
class Translate(ShellCmd):
name = "translate"
description = ["translating"]
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit