Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mentors.debian.net
debexpo
Commits
da0bcd6a
Commit
da0bcd6a
authored
Sep 14, 2011
by
Arno Töll
Browse files
Make debexpo_importer runnable standalone, fix a minor format problem in case of a rejected message
parent
9093adbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
debexpo/scripts/debexpo_importer.py
View file @
da0bcd6a
#! /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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment