]> TLD Linux GIT Repositories - tld-builder.git/blobdiff - TLD_Builder/notify.py
- more python 3.x fixes
[tld-builder.git] / TLD_Builder / notify.py
index ed5df8b432346997c8f960fffe44967ac39d8d87..e13c05235f2ba80a6d05be69ba2a8d681ded61aa 100644 (file)
@@ -14,12 +14,12 @@ from config import config
 
 class Notifier:
     def __init__(self, g):
-        self.xml = StringIO.StringIO()
+        self.xml = StringIO()
         self.xml.write("<notification group-id='%s' builder='%s'>\n" % \
                         (g.id, config.builder))
 
     def send(self, r):
-        sio = StringIO.StringIO()
+        sio = StringIO()
         self.xml.write("</notification>\n")
         self.xml.seek(0)
         sio.write(gpg.sign(self.xml.read()))