[plague] add missing patch - d'oh!
Michael Schwendt
mschwendt at fedoraproject.org
Mon Mar 4 23:35:41 UTC 2013
commit 4ac5c3d69cf90e3f9bc78f5e3aa5461279943e6a
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date: Tue Mar 5 00:35:36 2013 +0100
add missing patch - d'oh!
plague-0.4.5.8-filter-results.patch | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/plague-0.4.5.8-filter-results.patch b/plague-0.4.5.8-filter-results.patch
new file mode 100644
index 0000000..3ae734c
--- /dev/null
+++ b/plague-0.4.5.8-filter-results.patch
@@ -0,0 +1,18 @@
+diff -Nur plague-0.4.5.8-orig/builder/builder.py plague-0.4.5.8/builder/builder.py
+--- plague-0.4.5.8-orig/builder/builder.py 2010-05-05 12:45:20.000000000 +0200
++++ plague-0.4.5.8/builder/builder.py 2013-03-04 23:08:25.010148289 +0100
+@@ -462,8 +462,12 @@
+ def _find_files(self):
+ # Grab the list of files in our job's result dir and URL encode them
+ files_in_dir = os.listdir(self._result_dir)
+- if 'repodata' in files_in_dir:
+- files_in_dir.remove('repodata')
++ for f in files_in_dir:
++ for ext in ['.rpm','.log']:
++ if f.endswith(ext):
++ break
++ else:
++ files_in_dir.remove(f)
+ file_list = []
+ self._log("\n")
+ self._log("Output File List:\n")
More information about the scm-commits
mailing list