summaryrefslogtreecommitdiffstats
path: root/lib/sunhpc/commands/create/distro/__init__.py
diff options
context:
space:
mode:
authorkelvin <xiubuzhe@sina.com>2023-12-19 15:50:36 +0800
committerkelvin <xiubuzhe@sina.com>2023-12-19 15:50:36 +0800
commit03a68da0291678acf7abc87742d264d20011a4da (patch)
tree62c91d902b12739a800f7793613293090546f954 /lib/sunhpc/commands/create/distro/__init__.py
parentf2733eef4e2c4d9be4a7fcdb6bb576141ed42757 (diff)
downloadsunhpc-03a68da0291678acf7abc87742d264d20011a4da.tar.gz
sunhpc-03a68da0291678acf7abc87742d264d20011a4da.tar.bz2
sunhpc-03a68da0291678acf7abc87742d264d20011a4da.zip
fix syntaxwarning error
Diffstat (limited to 'lib/sunhpc/commands/create/distro/__init__.py')
-rw-r--r--lib/sunhpc/commands/create/distro/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sunhpc/commands/create/distro/__init__.py b/lib/sunhpc/commands/create/distro/__init__.py
index 0c3569e..8581793 100644
--- a/lib/sunhpc/commands/create/distro/__init__.py
+++ b/lib/sunhpc/commands/create/distro/__init__.py
@@ -133,7 +133,7 @@ class Command(sunhpc.commands.create.command):
mirrors = distro.getMirrors()
fullmirror = mirrors[0].getRollsPath()
# modify all dirs mode 755
- os.system('find %s -type d ' % (fullmirror) + '-exec chmod -R 0755 {} \;')
+ os.system(r'find %s -type d ' % (fullmirror) + '-exec chmod -R 0755 {} \;')
if self.arch != arch and os.path.exists(dist):
shutil.move(os.path.join(tempdist, arch), os.path.join(dist, arch))