Fix GapString bug

This commit is contained in:
Neale Pickett 2008-01-18 19:22:39 -07:00
parent fc00e0941b
commit a35f21d28a
1 changed files with 1 additions and 1 deletions

2
ip.py
View File

@ -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: