Skip to content

Commit

Permalink
fixed resolution of parent directory name when calling IndexProcessor
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Jan 12, 2013
1 parent 4826283 commit f95d339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylookup.py
Expand Up @@ -231,7 +231,7 @@ def update(db, urls, append=False):
if not issubclass(type(index), str):
index = index.decode()

parser = IndexProcessor(writer, dirname(url))
parser = IndexProcessor(writer, dirname(index_url))
with closing(parser):
parser.feed(index)

Expand Down

0 comments on commit f95d339

Please sign in to comment.