Mercurial > code > home > repos > light9
diff bin/inputdemo @ 1859:f066d6e874db
2to3 with these fixers: all idioms set_literal
Ignore-this: cbd28518218c2f0ddce8c4f92d3b8b33
author | drewp@bigasterisk.com |
---|---|
date | Wed, 22 May 2019 00:08:22 +0000 |
parents | 7772cc48e016 |
children | 3c523c71da29 |
line wrap: on
line diff
--- a/bin/inputdemo Tue May 21 23:56:12 2019 +0000 +++ b/bin/inputdemo Wed May 22 00:08:22 2019 +0000 @@ -5,7 +5,7 @@ gtk3reactor.install() from twisted.internet import reactor from rdflib import URIRef -import optparse, logging, urllib, time +import optparse, logging, urllib.request, urllib.parse, urllib.error, time from gi.repository import Gtk from run_local import log from light9 import showconfig, networking @@ -34,7 +34,7 @@ self.curve = args[0] if args else URIRef( 'http://light9.bigasterisk.com/show/dance2014/song1/curve/c-1401259747.675542' ) - print "sending points on curve %s" % self.curve + print("sending points on curve %s" % self.curve) reactor.run() @@ -60,7 +60,7 @@ @d.addCallback def done(result): - print "posted in %.1f ms" % (1000 * (time.time() - t1)) + print("posted in %.1f ms" % (1000 * (time.time() - t1))) App()