I'd prefer this style:
+ if osutils.hardlinks_good() + def link(self, source, link_name): ...
Over the current:
+ def link(self, source, link_name): ... + except AttributeError: + raise errors.TransportNotPossible("Hardlinks are not supported on %s" % self)
« Back to merge proposal
I'd prefer this style:
+ if osutils. hardlinks_ good()
+ def link(self, source, link_name):
...
Over the current:
+ def link(self, source, link_name): TransportNotPos sible(" Hardlinks are not supported on %s" % self)
...
+ except AttributeError:
+ raise errors.