Skip to content
Snippets Groups Projects
Commit 3392d392 authored by Manuel Jacob's avatar Manuel Jacob
Browse files

compat: add unicode

parent 4fdbf9e1
No related branches found
No related tags found
1 merge request!20Python 3 porting: ready for review (and merge)
Pipeline #5607 passed with warnings
......@@ -37,6 +37,11 @@
iteritems = lambda x: x.iteritems()
itervalues = lambda x: x.itervalues()
try:
unicode = unicode
except NameError:
from mercurial.pycompat import unicode
def gitvfs(repo):
"""return a vfs suitable to read git related data"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment