diff options
author | Guido Günther <agx@sigxcpu.org> | 2009-12-13 22:09:23 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2009-12-13 22:22:09 +0100 |
commit | bcdd6b558808b0fda4221f14eb0584de62bb2d9d (patch) | |
tree | 72e999c96602770ea9c7a7f2f3adf15827a9a078 /git-import-dsc | |
parent | dce995dcb2daad2a7db50d26b798aaffc931ad4d (diff) |
Improve error message when trying to import 3.0 source format packages
until we properly support them.
Diffstat (limited to 'git-import-dsc')
-rwxr-xr-x | git-import-dsc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git-import-dsc b/git-import-dsc index c88aa951..37e6d518 100755 --- a/git-import-dsc +++ b/git-import-dsc @@ -152,6 +152,8 @@ def main(argv): raise GbpError else: src = parse_dsc(args[0]) + if src.pkgformat != '1.0': + raise GbpError, "Importing %s source format not yet supported." % src.pkgformat if options.verbose: print_dsc(src) |