From 68c76bf494fccedfdd767744b6df1bff59d75b89 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Thu, 19 Jun 2014 18:43:38 +0200 Subject: Trailing whitespace --- stagepkg/command.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stagepkg/command.py b/stagepkg/command.py index bc84803..cde620b 100644 --- a/stagepkg/command.py +++ b/stagepkg/command.py @@ -54,7 +54,7 @@ def get_files(changes_file): files.append("%s/%s" % (r.group('arch'),r.group('fname'))) cf.close() return files - + def get_subarchive(repo): """in case we have a subarchive like foo-component return this @@ -124,7 +124,7 @@ def mangle_changes_file(changes_file, pkg, version, from_repo, to_repo, arch): changes = [] for line in cf.readlines(): (l, n) = distre.subn(distline % (get_dist(to_repo), ), line) - if n: + if n: matched = True changes += [ l ] continue @@ -323,13 +323,13 @@ def run(): return 1 to_path = get_repo_path(to_repo) - + if not check_repo(to_path): return 2 for pkg in pkgs: pkglist = pkg.split('=', 1) - if(len(pkglist) != 2): + if(len(pkglist) != 2): version = guess_version(from_repo, pkglist[0], options.arch) if not version: print >>sys.stderr, "No changes file found in '%s' for package '%s' - skipping package '%s'." % (from_repo, pkglist[0], pkg) -- cgit v1.2.3