Commit da0bcd6a authored by Arno Töll's avatar Arno Töll
Browse files

Make debexpo_importer runnable standalone, fix a minor format problem in case of a rejected message

parent 9093adbc
#! /usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# debexpo-importer — executable script to import new packages # debexpo-importer — executable script to import new packages
...@@ -389,7 +390,7 @@ class Importer(object): ...@@ -389,7 +390,7 @@ class Importer(object):
if distribution not in allowed_distributions: if distribution not in allowed_distributions:
self._remove_changes() self._remove_changes()
self._reject("You are not uploading to one of those Debian distributions: %s" % self._reject("You are not uploading to one of those Debian distributions: %s" %
(reduce(lambda x,xs: x + xs + " ", allowed_distributions))) (reduce(lambda x,xs: x + " " + xs, allowed_distributions)))
# Look whether the orig tarball is present, and if not, try and get it from # Look whether the orig tarball is present, and if not, try and get it from
# the repository. # the repository.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment