Index: third_party/upload.py |
diff --git a/third_party/upload.py b/third_party/upload.py |
index f7e1722ebac0dd5c084a97415e19835300d1b1d0..f3427779de6373a24483db41d697e864e4fa09a7 100755 |
--- a/third_party/upload.py |
+++ b/third_party/upload.py |
@@ -525,10 +525,10 @@ class HttpRpcServer(AbstractRpcServer): |
pass |
else: |
# Create an empty cookie file with mode 600 |
- fd = os.open(self.cookie_file, os.O_CREAT, 0600) |
+ fd = os.open(self.cookie_file, os.O_CREAT, 0o0600) |
os.close(fd) |
# Always chmod the cookie file |
- os.chmod(self.cookie_file, 0600) |
+ os.chmod(self.cookie_file, 0o0600) |
else: |
# Don't save cookies across runs of update.py. |
self.cookie_jar = cookielib.CookieJar() |