target_is_file = False
if target_is_file and target_has_trailing_slash:
- self.to_stderr("target is not a directory, but has a slash")
+ self.to_stderr("target is not a directory, but ends with a slash")
return 1
if len(sources) > 1 and target_is_file:
return set(["E5-DIRTOFILE"])
if err == "copying multiple things requires target be a directory":
return set(["E6-MANYONE"])
- if err == "target is not a directory, but has a slash":
+ if err == "target is not a directory, but ends with a slash":
return set(["E7-BADSLASH"])
self.fail("unrecognized error ('%s') %s" % (case, res))
d.addCallback(_check)