extras-buildsys-temp/automation buildqueue.py,1.1,1.2

Seth Vidal (skvidal) fedora-extras-commits at redhat.com
Sat May 7 03:52:47 UTC 2005


Author: skvidal

Update of /cvs/fedora/extras-buildsys-temp/automation
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16690

Modified Files:
	buildqueue.py 
Log Message:

change to fix for wrong cvs tag



Index: buildqueue.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys-temp/automation/buildqueue.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- buildqueue.py	5 May 2005 08:07:40 -0000	1.1
+++ buildqueue.py	7 May 2005 03:52:45 -0000	1.2
@@ -269,6 +269,12 @@
         
     def make_srpm(self):
         repodir = os.path.join(self.tmpdir, self.repo)
+        if not os.path.exists(repodir):
+            subj = 'Prep Error: %s on %s' % (self.tag, self.target)
+            msg = "could not find path %s for %s." % (repodir, self.tag)
+            self.email_result(resultstring=msg, subject=subj)
+            raise PrepError(2, msg)
+
         os.chdir(repodir)
         cmd = '%s srpm' % (makecmd)
         debugprint("Running %s in %s" % (cmd, repodir))




More information about the fedora-extras-commits mailing list