pld-builder.new: PLD_Builder/bqueue.py, PLD_Builder/request_fetcher.py Miss...

arekm arekm at pld-linux.org
Fri Feb 6 17:50:07 CET 2009


Author: arekm                        Date: Fri Feb  6 16:50:07 2009 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
Missing I/O->buf changes.

---- Files affected:
pld-builder.new/PLD_Builder:
   bqueue.py (1.12 -> 1.13) , request_fetcher.py (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: pld-builder.new/PLD_Builder/bqueue.py
diff -u pld-builder.new/PLD_Builder/bqueue.py:1.12 pld-builder.new/PLD_Builder/bqueue.py:1.13
--- pld-builder.new/PLD_Builder/bqueue.py:1.12	Fri Feb  6 15:04:54 2009
+++ pld-builder.new/PLD_Builder/bqueue.py	Fri Feb  6 17:50:02 2009
@@ -98,6 +98,7 @@
             f = gzip.open(name, "w", 6)
         else:
             f = open(name, "w")
+        sio.seek(0)
         util.sendfile(sio, f)
         f.close()
 

================================================================
Index: pld-builder.new/PLD_Builder/request_fetcher.py
diff -u pld-builder.new/PLD_Builder/request_fetcher.py:1.24 pld-builder.new/PLD_Builder/request_fetcher.py:1.25
--- pld-builder.new/PLD_Builder/request_fetcher.py:1.24	Fri Feb  6 11:35:52 2009
+++ pld-builder.new/PLD_Builder/request_fetcher.py	Fri Feb  6 17:50:02 2009
@@ -69,7 +69,7 @@
     f.close()
     sio.seek(0)
     f = gzip.GzipFile(fileobj = sio)
-    (signers, body) = gpg.verify_sig(f)
+    (signers, body) = gpg.verify_sig(f.read())
     u = acl.user_by_email(signers)
     if u == None:
         log.alert("queue.gz not signed with signature of valid user: %s" % signers)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-builder.new/PLD_Builder/bqueue.py?r1=1.12&r2=1.13&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-builder.new/PLD_Builder/request_fetcher.py?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list