##// END OF EJS Templates
py3: check for bytes instead of str in isinstance
Pulkit Goyal -
r33018:071732d9 default
parent child Browse files
Show More
@@ -130,7 +130,7 b' def _peerlookup(path):'
130 130
131 131 def islocal(repo):
132 132 '''return true if repo (or path pointing to repo) is local'''
133 if isinstance(repo, str):
133 if isinstance(repo, bytes):
134 134 try:
135 135 return _peerlookup(repo).islocal(repo)
136 136 except AttributeError:
General Comments 0
You need to be logged in to leave comments. Login now