Index: trunk/backup/WikiDump.py |
— | — | @@ -251,7 +251,7 @@ |
252 | 252 | def lock(self): |
253 | 253 | if not os.path.isdir(self.privateDir()): |
254 | 254 | try: |
255 | | - os.mkdir(self.privateDir()) |
| 255 | + os.makedirs(self.privateDir()) |
256 | 256 | except: |
257 | 257 | # Maybe it was just created (race condition)? |
258 | 258 | if not os.path.isdir(self.privateDir()): |