mirror of https://github.com/dirtbags/netarch.git
Fix GapString bug
This commit is contained in:
parent
fc00e0941b
commit
a35f21d28a
2
ip.py
2
ip.py
|
@ -149,7 +149,7 @@ class Chunk:
|
||||||
def gapstr(self, drop='?'):
|
def gapstr(self, drop='?'):
|
||||||
"""Return contents as a GapString"""
|
"""Return contents as a GapString"""
|
||||||
|
|
||||||
ret = gapstr.GapString(drop)
|
ret = gapstr.GapString(drop=drop)
|
||||||
while len(ret) < self.length:
|
while len(ret) < self.length:
|
||||||
f = self.collection.get(self.seq + len(ret))
|
f = self.collection.get(self.seq + len(ret))
|
||||||
if f:
|
if f:
|
||||||
|
|
Loading…
Reference in New Issue