extras-buildsys/utils/pushscript BlackList.py,1.1,1.2

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Fri Feb 9 19:33:38 UTC 2007


Author: mschwendt

Update of /cvs/fedora/extras-buildsys/utils/pushscript
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26264

Modified Files:
	BlackList.py 
Log Message:
locate blacklist files in pushscript home dir


Index: BlackList.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/pushscript/BlackList.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- BlackList.py	9 Feb 2007 19:23:42 -0000	1.1
+++ BlackList.py	9 Feb 2007 19:33:36 -0000	1.2
@@ -15,12 +15,13 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
+import os, sys
 import Utils
 
 def get_filtered_build_results(cfg,dist,results):
     # Blacklist file contains one src.rpm %{name} per line.
     blacklist = []
-    blname = cfg.project+'-'+dist+'-blacklist.txt'  # e.g. extras-6-blacklist.txt
+    blname = os.path.join(sys.path[0],cfg.project+'-'+dist+'-blacklist.txt')  # e.g. extras-6-blacklist.txt
     try:
         f = open(blname,'r')
         blacklist = f.read().splitlines()




More information about the scm-commits mailing list