aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-06-19 18:43:38 +0200
committerGuido Günther <agx@sigxcpu.org>2014-06-19 19:09:52 +0200
commit68c76bf494fccedfdd767744b6df1bff59d75b89 (patch)
treee7e4a9b57779046c8385e6a206ce3289e885448d
parentd5662f99db18df6704d55092af08e3d9b4d9c599 (diff)
Trailing whitespace
-rw-r--r--stagepkg/command.py8
1 files 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)