##// END OF EJS Templates
statichttprepo: update profile of __call__ in mock vfs object...
Mads Kiilerich -
r23552:72319005 default
parent child Browse files
Show More
@@ -70,7 +70,7 b' def build_opener(ui, authinfo):'
70 def __init__(self, base):
70 def __init__(self, base):
71 self.base = base
71 self.base = base
72
72
73 def __call__(self, path, mode="r", atomictemp=None):
73 def __call__(self, path, mode='r', *args, **kw):
74 if mode not in ('r', 'rb'):
74 if mode not in ('r', 'rb'):
75 raise IOError('Permission denied')
75 raise IOError('Permission denied')
76 f = "/".join((self.base, urllib.quote(path)))
76 f = "/".join((self.base, urllib.quote(path)))
General Comments 0
You need to be logged in to leave comments. Login now