Plague web interface

Bryan Stillwell bryans at aspsys.com
Wed Aug 3 18:12:40 UTC 2005


On Wed, Aug 03, 2005 at 12:32:42AM -0400, Dan Williams wrote:
>Fixed in CVS.

Thanks, that seemed to fix that problem!

I ran into a couple other problems that I've attached one-line patches
for.  If I find anything else, I'll see if I can fix them first.

Seth: any chance you can update the web code to match what's currently
being used?

Thanks,
Bryan
-------------- next part --------------
diff -ru extras-buildsys.orig/www/job.psp extras-buildsys/www/job.psp
--- extras-buildsys.orig/www/job.psp	2005-07-28 23:27:16.000000000 -0600
+++ extras-buildsys/www/job.psp	2005-08-03 12:10:07.309463288 -0600
@@ -20,7 +20,7 @@
     import socket, xmlrpclib
 
     try:
-        (e, msg, job) = server.detail_job('', uid)
+        (e, msg, job) = server.detail_job(uid)
     except socket.error, e:
         msg = str(e)
 %>
-------------- next part --------------
diff -ru extras-buildsys.orig/server/BuildMaster.py extras-buildsys/server/BuildMaster.py
--- extras-buildsys.orig/server/BuildMaster.py	2005-08-01 22:10:32.000000000 -0600
+++ extras-buildsys/server/BuildMaster.py	2005-08-03 12:08:26.816740504 -0600
@@ -189,7 +189,7 @@
             self.curs.execute('DELETE FROM archjobs WHERE parent_uid=%d' % uid)
             self.dbcx.commit()
 
-            curs.execute('CREATE TABLE jobs ('  \
+            self.curs.execute('CREATE TABLE jobs ('  \
                 'uid INTEGER PRIMARY KEY, '     \
                 'username VARCHAR(20), '        \
                 'package VARCHAR(50), '         \


More information about the Fedora-buildsys-list mailing list