diff options
author | Guido Günther <agx@sigxcpu.org> | 2017-08-02 01:32:37 -0300 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2017-08-02 10:35:05 -0300 |
commit | fe94ea82051aef0808797ab832485670eb769903 (patch) | |
tree | d2eb3cdd419b9a64fff122367141828ce8c50ded /gbp/scripts/import_orig.py | |
parent | 3c47611c44cb8645f03c29eca1d26b8b11d0b6e1 (diff) |
Python3: Fix doctest exception names
Python3 prefixes the module names
Diffstat (limited to 'gbp/scripts/import_orig.py')
-rw-r--r-- | gbp/scripts/import_orig.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gbp/scripts/import_orig.py b/gbp/scripts/import_orig.py index 016ebff9..d3feef5f 100644 --- a/gbp/scripts/import_orig.py +++ b/gbp/scripts/import_orig.py @@ -273,15 +273,15 @@ def find_source(use_uscan, args): >>> find_source(False, ['too', 'many']) Traceback (most recent call last): ... - GbpError: More than one archive specified. Try --help. + gbp.errors.GbpError: More than one archive specified. Try --help. >>> find_source(False, []) Traceback (most recent call last): ... - GbpError: No archive to import specified. Try --help. + gbp.errors.GbpError: No archive to import specified. Try --help. >>> find_source(True, ['tarball']) Traceback (most recent call last): ... - GbpError: you can't pass both --uscan and a filename. + gbp.errors.GbpError: you can't pass both --uscan and a filename. >>> find_source(False, ['tarball']).path 'tarball' """ |