comparison mercurial/wireprotov2server.py @ 41376:56fcbac62f67

wireprotov2server: use pycompat.strkwargs when calling cachekeyfn Differential Revision: https://phab.mercurial-scm.org/D5696
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 25 Jan 2019 14:38:49 -0800
parents 5cc5a5561c3f
children e053053ceba7
comparison
equal deleted inserted replaced
41375:f1b0d9988825 41376:56fcbac62f67
388 for o in callcommand(): 388 for o in callcommand():
389 yield o 389 yield o
390 return 390 return
391 391
392 with cacher: 392 with cacher:
393 cachekey = entry.cachekeyfn(repo, proto, cacher, **args) 393 cachekey = entry.cachekeyfn(repo, proto, cacher,
394 **pycompat.strkwargs(args))
394 395
395 # No cache key or the cacher doesn't like it. Do default handling. 396 # No cache key or the cacher doesn't like it. Do default handling.
396 if cachekey is None or not cacher.setcachekey(cachekey): 397 if cachekey is None or not cacher.setcachekey(cachekey):
397 for o in callcommand(): 398 for o in callcommand():
398 yield o 399 yield o