From 071ba05534f1e5f3eee3435214caa2642e3e2c23 Mon Sep 17 00:00:00 2001 From: Jeremy Heiner Date: Sat, 12 Oct 2013 12:44:32 -0400 Subject: Use Python's "0o#" octal literal instead of deprecated "0#". Reported as a compatibility issue by 2to3. Signed-off-by: Jeremy Heiner Signed-off-by: Allan McRae --- test/pacman/pmtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/pacman/pmtest.py') diff --git a/test/pacman/pmtest.py b/test/pacman/pmtest.py index d12a5ed2..731a9fc7 100644 --- a/test/pacman/pmtest.py +++ b/test/pacman/pmtest.py @@ -131,7 +131,7 @@ class pmtest(object): for sys_dir in sys_dirs: if not os.path.isdir(sys_dir): vprint("\t%s" % sys_dir[len(self.root)+1:]) - os.makedirs(sys_dir, 0755) + os.makedirs(sys_dir, 0o755) # Only the dynamically linked binary is needed for fakechroot shutil.copy("/bin/sh", bindir) if shell != "bin/sh": -- cgit v1.2.3