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

Commit

Permalink
session support ready for merge
Browse files Browse the repository at this point in the history
fix bugs with -D option and sessionname path

fix path join

remove debug line

fix tumbler bug

rebased session support
  • Loading branch information
Andrew K committed Mar 22, 2017
1 parent 0c919d2 commit 13d6976
Show file tree
Hide file tree
Showing 2 changed files with 246 additions and 24 deletions.
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

0 comments on commit 13d6976

Please sign in to comment.