X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=TLD_Builder%2Fnotify.py;h=e13c05235f2ba80a6d05be69ba2a8d681ded61aa;hb=d398d662985299e8548fda37f75fc8b0ffe7a10f;hp=ed5df8b432346997c8f960fffe44967ac39d8d87;hpb=92949e17161a53bfb4a60099e22b58ad63abce4c;p=tld-builder.git diff --git a/TLD_Builder/notify.py b/TLD_Builder/notify.py index ed5df8b..e13c052 100644 --- a/TLD_Builder/notify.py +++ b/TLD_Builder/notify.py @@ -14,12 +14,12 @@ from config import config class Notifier: def __init__(self, g): - self.xml = StringIO.StringIO() + self.xml = StringIO() self.xml.write("\n" % \ (g.id, config.builder)) def send(self, r): - sio = StringIO.StringIO() + sio = StringIO() self.xml.write("\n") self.xml.seek(0) sio.write(gpg.sign(self.xml.read()))