~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to shelf.py

  • Committer: Aaron Bentley
  • Date: 2006-06-18 01:24:25 UTC
  • mfrom: (0.3.3 shelf-dev)
  • Revision ID: aaron.bentley@utoronto.ca-20060618012425-61c3d9d62a2cc971
Merged the latest Shelf changes, patches.py no longer needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
    def __path_from_user(self, patch_id):
82
82
        try:
83
83
            patch_index = int(patch_id)
84
 
        except TypeError:
 
84
        except (TypeError, ValueError):
85
85
            raise CommandError("Invalid patch name '%s'" % patch_id)
86
86
 
87
87
        path = self.__path(patch_index)