changeset 36178 | 646002338365 |
parent 36009 | 55e8efa2451a |
child 36373 | 0147a4730420 |
--- a/mercurial/localrepo.py Tue Feb 13 23:37:58 2018 -0500 +++ b/mercurial/localrepo.py Tue Feb 13 23:00:01 2018 -0700 @@ -9,7 +9,6 @@ import errno import hashlib -import inspect import os import random import time @@ -1068,7 +1067,7 @@ if not fn: fn = lambda s, c, **kwargs: util.filter(s, c) # Wrap old filters not supporting keyword arguments - if not inspect.getargspec(fn)[2]: + if not pycompat.getargspec(fn)[2]: oldfn = fn fn = lambda s, c, **kwargs: oldfn(s, c) l.append((mf, fn, params))