Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

A possible fix for the UnicodeDecodeError I was seeing. #28

Merged
merged 1 commit into from

2 participants

Brad Larsen Greg Williams
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 29, 2012
  1. Brad Larsen
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  ctags.py
2  ctags.py
View
@@ -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)
Something went wrong with that request. Please try again.