equal
deleted
inserted
replaced
1310 os.symlink(src, linkname) |
1310 os.symlink(src, linkname) |
1311 except OSError, err: |
1311 except OSError, err: |
1312 raise OSError(err.errno, _('could not symlink to %r: %s') % |
1312 raise OSError(err.errno, _('could not symlink to %r: %s') % |
1313 (src, err.strerror), linkname) |
1313 (src, err.strerror), linkname) |
1314 else: |
1314 else: |
1315 f = self(self, dst, "w") |
1315 f = self(dst, "w") |
1316 f.write(src) |
1316 f.write(src) |
1317 f.close() |
1317 f.close() |
1318 |
1318 |
1319 class chunkbuffer(object): |
1319 class chunkbuffer(object): |
1320 """Allow arbitrary sized chunks of data to be efficiently read from an |
1320 """Allow arbitrary sized chunks of data to be efficiently read from an |