Show More
@@ -321,12 +321,7 b' class patchfile:' | |||||
321 | if not self.exists: |
|
321 | if not self.exists: | |
322 | dirname = os.path.dirname(fname) |
|
322 | dirname = os.path.dirname(fname) | |
323 | if dirname and not os.path.isdir(dirname): |
|
323 | if dirname and not os.path.isdir(dirname): | |
324 |
|
|
324 | os.makedirs(dirname) | |
325 | d = "" |
|
|||
326 | for x in dirs: |
|
|||
327 | d = os.path.join(d, x) |
|
|||
328 | if not os.path.isdir(d): |
|
|||
329 | os.mkdir(d) |
|
|||
330 |
|
325 | |||
331 | self.hash = {} |
|
326 | self.hash = {} | |
332 | self.dirty = 0 |
|
327 | self.dirty = 0 |
General Comments 0
You need to be logged in to leave comments.
Login now