# HG changeset patch # User Drew Perttula # Date 1402563592 0 # Node ID 780e91cc21cc79b8976833d2142a150d0bd01723 # Parent 4d438e50c83c891dd67c7b847c0e752cf22e3e99 dead code from the prototype Ignore-this: 4b9f45d89e1571fc8fc305cf00a1729e diff -r 4d438e50c83c -r 780e91cc21cc light9/effecteval/effect.py --- a/light9/effecteval/effect.py Thu Jun 12 08:57:21 2014 +0000 +++ b/light9/effecteval/effect.py Thu Jun 12 08:59:52 2014 +0000 @@ -6,16 +6,6 @@ from light9 import Submaster, Effects log = logging.getLogger('effect') -def uriFromCode(s): - # i thought this was something a graph could do with its namespace manager - if s.startswith('sub:'): - return URIRef('http://light9.bigasterisk.com/show/dance2014/sub/' + s[4:]) - if s.startswith('song1:'): - return URIRef('http://ex/effect/song1/' + s[6:]) - if (s[0], s[-1]) == ('<', '>'): - return URIRef(s[1:-1]) - raise NotImplementedError - # consider http://waxeye.org/ for a parser that can be used in py and js class CodeLine(object):