summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xapi.py2
-rwxr-xr-xcurl.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/api.py b/api.py
index 4904244..6f6a6c7 100755
--- a/api.py
+++ b/api.py
@@ -366,7 +366,7 @@ class Deployer(API):
def _publish_via_ssh(self, filename, ssh_target):
logging.info('Copying %s to %s', filename, ssh_target)
- os.chmod(filename, 0444)
+ os.chmod(filename, 0o444)
argv = [
'scp', '-q', filename, ssh_target,
]
diff --git a/curl.sh b/curl.sh
index 801254c..095c21f 100755
--- a/curl.sh
+++ b/curl.sh
@@ -28,7 +28,7 @@ case "$cmd" in
;;
deploy)
- runcurl -sv -X POST --data-binary @"$1" \
+ runcurl -X POST --data-binary @"$1" \
-H "Content-Type: application/json" \
https://wmf2-deployer.vm.liw.fi/publish
;;