Submitter | Mads Kiilerich |
---|---|
Date | Dec. 14, 2014, 6:34 p.m. |
Message ID | <d35c8e8e2c7f980853fc.1418582060@ssl.google-analytics.com> |
Download | mbox | patch |
Permalink | /patch/7087/ |
State | Accepted |
Delegated to: | Pierre-Yves David |
Headers | show |
Comments
Patch
diff --git a/mercurial/statichttprepo.py b/mercurial/statichttprepo.py --- a/mercurial/statichttprepo.py +++ b/mercurial/statichttprepo.py @@ -70,7 +70,7 @@ def __init__(self, base): self.base = base - def __call__(self, path, mode="r", atomictemp=None): + def __call__(self, path, mode='r', *args, **kw): if mode not in ('r', 'rb'): raise IOError('Permission denied') f = "/".join((self.base, urllib.quote(path)))