equal
deleted
inserted
replaced
520 """return a unique `path` or abort if multiple are found |
520 """return a unique `path` or abort if multiple are found |
521 |
521 |
522 This is useful for command and action that does not support multiple |
522 This is useful for command and action that does not support multiple |
523 destination (yet). |
523 destination (yet). |
524 |
524 |
525 Note that for now, we cannot get multiple destination so this function is "trivial". |
|
526 |
|
527 The `action` parameter will be used for the error message. |
525 The `action` parameter will be used for the error message. |
528 """ |
526 """ |
529 if dest is None: |
527 if dest is None: |
530 dests = [] |
528 dests = [] |
531 else: |
529 else: |