[Wisp-cvs] wisp/users/dig linkie.py,1.24,1.25
Status: Alpha
Brought to you by:
digg
From: <di...@us...> - 2003-04-14 21:30:25
|
Update of /cvsroot/wisp/wisp/users/dig In directory sc8-pr-cvs1:/tmp/cvs-serv16257 Modified Files: linkie.py Log Message: grammatical sugar for Linkie.paste Index: linkie.py =================================================================== RCS file: /cvsroot/wisp/wisp/users/dig/linkie.py,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- linkie.py 14 Apr 2003 00:52:40 -0000 1.24 +++ linkie.py 14 Apr 2003 21:30:20 -0000 1.25 @@ -274,7 +274,8 @@ if that._unresolved_locals: raise 'Incomplete linkie', that # provide sufficient padding - if offset < 0: this.align(- offset) + if offset == None: this.align(that.get_alignment()) + elif offset < 0: this.align(- offset) else: this.skip(offset - this.memsz()) # convert any padding to hard zeroes if needed |