diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2013-03-09 23:21:03 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2013-03-09 23:27:00 +0100 |
commit | ba5f39f7c21cf3444ca2e84b0c02e89a1f36cd66 (patch) | |
tree | ea10c69b4c03e3b933d59cc5f94e7887523b96d9 | |
parent | 11ca816768cc10cb8df6fb989aaf2ea9733f4431 (diff) |
log hex value of action id to make debugging easier
-rwxr-xr-x | pynslcd/pynslcd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pynslcd/pynslcd.py b/pynslcd/pynslcd.py index 0f234c3..6c2d28a 100755 --- a/pynslcd/pynslcd.py +++ b/pynslcd/pynslcd.py @@ -214,7 +214,7 @@ def acceptconnection(session): try: handler = handlers[action] except KeyError: - logging.warning('invalid action id: %r', action) + logging.warning('invalid action id: 0x%08x', action) return handler(fp, session, uid)() finally: |