diff options
author | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | 2006-10-08 15:44:42 +0000 |
---|---|---|
committer | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | 2006-10-08 15:44:42 +0000 |
commit | 7272b22ea84989b585fbfb4a9723da3b7cdd7a58 (patch) | |
tree | 393820318b8444224dce1cb49c2b172e04d5fd12 /mirror | |
parent | 3dbbcbedafde741d22faae21fbc1e37401dac19f (diff) |
Fix the other os.mkdir to os.makedirs()
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@306 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'mirror')
-rwxr-xr-x | mirror/rsync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mirror/rsync.py b/mirror/rsync.py index 7b38bf8f..5344f881 100755 --- a/mirror/rsync.py +++ b/mirror/rsync.py @@ -24,7 +24,7 @@ class rsync: def sync(self, src, dest): os.chdir(self.target) if not os.path.isdir(dest): - os.mkdir(dest) + os.makedirs(dest) src = os.path.join(self.prefix, src) cmd = self.command + ' %s "%s" "%s"' % (self.exclude, src, dest) # print cmd + ' >> %s 2>&1' % self.tmpfile |