parseindex: also forward keyword argument in a debug wrapper
authorBoris Feld <boris.feld@octobus.net>
Tue, 06 Feb 2018 11:52:37 +0100
changeset 36004 c839bbee1e13
parent 36003 a915465a731e
child 36005 8140ce44dec4
parseindex: also forward keyword argument in a debug wrapper Otherwise, it gets in the way of a coming refactoring.
tests/test-parseindex.t
--- a/tests/test-parseindex.t	Tue Feb 06 11:51:39 2018 +0100
+++ b/tests/test-parseindex.t	Tue Feb 06 11:52:37 2018 +0100
@@ -43,8 +43,8 @@
   > 
   > def opener(*args):
   >     o = vfs.vfs(*args)
-  >     def wrapper(*a):
-  >         f = o(*a)
+  >     def wrapper(*a, **kwargs):
+  >         f = o(*a, **kwargs)
   >         return singlebyteread(f)
   >     return wrapper
   >