Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Session support as described in issue #634 #714

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions joinmarket/support.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,12 +385,16 @@ def debug_dump_object(obj, skip_fields=None):
if skip_fields is None:
skip_fields = []
log.debug('Class debug dump, name:' + obj.__class__.__name__)
for k, v in obj.__dict__.iteritems():
if type(obj) is dict:
iteritems = obj.iteritems()
else:
iteritems = obj.__dict__.iteritems()
for k, v in iteritems:
if k in skip_fields:
continue
if k == 'password' or k == 'given_password':
continue
log.debug('key=' + k)
log.debug('key=' + str(k))
if isinstance(v, str):
log.debug('string: len:' + str(len(v)))
log.debug(v)
Expand Down
Loading