##// 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 def islocal(repo):
131 def islocal(repo):
132 '''return true if repo (or path pointing to repo) is local'''
132 '''return true if repo (or path pointing to repo) is local'''
133 if isinstance(repo, str):
133 if isinstance(repo, bytes):
134 try:
134 try:
135 return _peerlookup(repo).islocal(repo)
135 return _peerlookup(repo).islocal(repo)
136 except AttributeError:
136 except AttributeError:
General Comments 0
You need to be logged in to leave comments. Login now