Show More
@@ -1303,7 +1303,11 b' class opener(object):' | |||
|
1303 | 1303 | os.makedirs(dirname) |
|
1304 | 1304 | |
|
1305 | 1305 | if self._can_symlink: |
|
1306 | os.symlink(src, linkname) | |
|
1306 | try: | |
|
1307 | os.symlink(src, linkname) | |
|
1308 | except OSError, err: | |
|
1309 | raise OSError(err.errno, _('could not symlink to %r: %s') % | |
|
1310 | (src, err.strerror), linkname) | |
|
1307 | 1311 | else: |
|
1308 | 1312 | f = self(self, dst, "w") |
|
1309 | 1313 | f.write(src) |
General Comments 0
You need to be logged in to leave comments.
Login now