summaryrefslogtreecommitdiff
path: root/kpov_judge/test_prepare_disks.py
diff options
context:
space:
mode:
Diffstat (limited to 'kpov_judge/test_prepare_disks.py')
-rwxr-xr-xkpov_judge/test_prepare_disks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kpov_judge/test_prepare_disks.py b/kpov_judge/test_prepare_disks.py
index c810cd2..3817d96 100755
--- a/kpov_judge/test_prepare_disks.py
+++ b/kpov_judge/test_prepare_disks.py
@@ -28,7 +28,7 @@ class SSHGuestFs:
except:
pass
def chmod(self, mode, path):
- self.conn.exec_command('chmod {} "{}"'.format(oct(mode, 8), path))
+ self.conn.exec_command('chmod {} "{}"'.format(oct(mode), path))
def chown(self, owner, group, path):
self.conn.exec_command('chown {}.{} "{}"'.format(str(owner), str(group), path))
def command(self, arguments):