Mercurial > code > home > repos > light9
diff bin/effecteval @ 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 | 5bcb950024af |
line wrap: on
line diff
--- a/bin/effecteval Tue May 21 23:56:12 2019 +0000 +++ b/bin/effecteval Wed May 22 00:08:22 2019 +0000 @@ -1,6 +1,6 @@ #!bin/python -from __future__ import division + from run_local import log from twisted.internet import reactor from twisted.internet.defer import inlineCallbacks, returnValue @@ -173,7 +173,7 @@ return with self.settings.graph.currentState(tripleFilter=(None, L9['effect'], effect)) as g: - song = g.subjects(L9['effect'], effect).next() + song = next(g.subjects(L9['effect'], effect)) replaceObjects(self.settings.graph, song, effect, L9['code'], codeLines)