Skip to content

Commit

Permalink
use items instead of iteritems for python3 compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyDiGirolamo committed Aug 30, 2015
1 parent 3cd7f62 commit 33d3da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion todotxt_machine/cli.py
Expand Up @@ -81,7 +81,7 @@ def main():
cfg.add_section('keys')

if arguments['--show-default-bindings']:
d = {k: ", ".join(v) for k,v in KeyBindings({}).key_bindings.iteritems()}
d = {k: ", ".join(v) for k,v in KeyBindings({}).key_bindings.items()}
cfg._sections['keys'] = OrderedDict(sorted(d.items(), key=lambda t: t[0]))
cfg.write(sys.stdout)
exit(0)
Expand Down

0 comments on commit 33d3da8

Please sign in to comment.