Permalink
Browse files

A possible fix for CTags issue #27

<#27>
  • Loading branch information...
1 parent cf07509 commit b0be205ba9c6598fc545f026ec3e638b83b0743e @bradlarsen bradlarsen committed Feb 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ctags.py
View
2 ctags.py
@@ -217,7 +217,7 @@ def get(self, *tags):
with open(self.p, 'r+') as fh:
self.fh = mmap.mmap(fh.fileno(), 0)
- for tag in tags:
+ for tag in (t.encode() for t in tags):
b4 = bisect.bisect_left(self, tag)
fh.seek(b4)

0 comments on commit b0be205

Please sign in to comment.