Skip to content
Snippets Groups Projects

Config file

Merged Manuel Günther requested to merge config_file into master
1 unresolved thread

Fixes #28 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
43 'database',
44 'preprocessor',
45 'extractor',
46 'algorithm',
47 )
48
49 for attr in [k for k in dir(args_file) if not k.startswith('_')]:
50 if attr in skip_check: continue
51 assert hasattr(args_cmdline, attr)
52 attr_cmdline = getattr(args_cmdline, attr)
53 attr_file = getattr(args_file, attr)
54 if (isinstance(attr_file, (bool, str, int, list))) or (attr_file is None):
55 assert attr_cmdline == attr_file, '(%s) %r != %r' % \
56 (attr, attr_cmdline, attr_file)
57 else:
58 print '(%s) %r == %r?' % (attr, attr_cmdline, attr_file),
  • André Anjos Added 1 commit:

    Added 1 commit:

    • 3ed8d9bb - Fix py3 compatibility issue
  • André Anjos Added 1 commit:

    Added 1 commit:

    • bfd4ae32 - Better fix w/o leaving something untested
  • André Anjos Added 1 commit:

    Added 1 commit:

    • bd1a8af8 - Use string mode to open tempfile for py3 compat
  • Very well, the builds are passing now - could you please merge if all looks good, @mguenther?

  • Manuel Günther mentioned in commit 4f3c96b9

    mentioned in commit 4f3c96b9

  • Manuel Günther Status changed to merged

    Status changed to merged

  • Please register or sign in to reply
    Loading