[Wisp-cvs] wisp/users/dig linkie.py,1.52,1.53
Status: Alpha
Brought to you by:
digg
From: <di...@us...> - 2003-05-10 19:03:06
|
Update of /cvsroot/wisp/wisp/users/dig In directory sc8-pr-cvs1:/tmp/cvs-serv3849 Modified Files: linkie.py Log Message: made Linkie.emit_single_item treat space-separated strings as sums of symbols Index: linkie.py =================================================================== RCS file: /cvsroot/wisp/wisp/users/dig/linkie.py,v retrieving revision 1.52 retrieving revision 1.53 diff -u -d -r1.52 -r1.53 --- linkie.py 10 May 2003 17:17:35 -0000 1.52 +++ linkie.py 10 May 2003 19:03:03 -0000 1.53 @@ -58,7 +58,7 @@ def emit_single_item (this, step, value): if isinstance(value, str): # emit addend - this._emit_sum(step, [value], delta = 0, relative = 0) + this._emit_sum(step, value.split(), delta = 0, relative = 0) # emit zeroes for length this[::step] = 0 else: Bits.emit_single_item(this, step, value) |