Permalink
Browse files

fix debug decorator

  • Loading branch information...
1 parent d53d86f commit 0afd643d534c34842bbfa80b44a4bfd61512b640 @nakagami committed Jan 26, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 firebirdsql/wireprotocol.py
@@ -50,9 +50,9 @@ def convert_timestamp(v): # Convert datetime.datetime to BLR format timestamp
def wire_operation(fn):
if not DEBUG:
return fn
- def f(*args):
+ def f(*args, **kwargs):
print('<----', fn, args)
- r = fn(*args)
+ r = fn(*args, **kwargs)
print(fn, '---->')
return r
return f

0 comments on commit 0afd643

Please sign in to comment.