diff options
author | kelvin <xiubuzhe@sina.com> | 2023-12-19 15:50:36 +0800 |
---|---|---|
committer | kelvin <xiubuzhe@sina.com> | 2023-12-19 15:50:36 +0800 |
commit | 03a68da0291678acf7abc87742d264d20011a4da (patch) | |
tree | 62c91d902b12739a800f7793613293090546f954 /lib/sunhpc/commands/create/distro/__init__.py | |
parent | f2733eef4e2c4d9be4a7fcdb6bb576141ed42757 (diff) | |
download | sunhpc-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__.py | 2 |
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)) |