summaryrefslogtreecommitdiff
path: root/clean_repo.py
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-04-16 03:15:01 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-04-16 03:15:01 -0500
commit374c8e2a5183cdbaefe9f54184603ad8d09e30c2 (patch)
treed21bb4638091c4522235f961ed3dcbf6afcf7fd6 /clean_repo.py
parent7203e2e2631e29a79f4ea822c371d4e12c9c1a88 (diff)
* bash-repo for testing
* merged dbscripts with repm
Diffstat (limited to 'clean_repo.py')
-rwxr-xr-xclean_repo.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/clean_repo.py b/clean_repo.py
index 5423c4d..e1a17c2 100755
--- a/clean_repo.py
+++ b/clean_repo.py
@@ -22,7 +22,8 @@ def mkpending(packages_iterable, pending_file, blacklisted_names,
pkgs=[pkg for pkg in pkgs if pkg["name"] not in search
and "custom" in pkg["license"]]
fsock=open(pending_file, "w")
- fsock.write("\n".join([pkg["name"] + ":" + pkg["license"]
+ fsock.write("\n".join([pkg["name"] + ":" + pkg["location"] +
+ ":" + pkg["license"]
for pkg in pkgs]) + "\n")
except(IOError):
raise NonValidFile("Can't read or write %s" % pending_file)