X-Git-Url: https://git.tld-linux.org/?p=tld-builder.git;a=blobdiff_plain;f=TLD_Builder%2Fnotify.py;h=e13c05235f2ba80a6d05be69ba2a8d681ded61aa;hp=ed5df8b432346997c8f960fffe44967ac39d8d87;hb=3a6296fff210d498302ce0a2da6beed689466347;hpb=c4d0706eae2dd9530000a8ad8b62188c417c2caa 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()))