Skip to content

Support Python 3#4

Open
juergenhoetzel wants to merge 1 commit intoerikdw:masterfrom
juergenhoetzel:python3
Open

Support Python 3#4
juergenhoetzel wants to merge 1 commit intoerikdw:masterfrom
juergenhoetzel:python3

Conversation

@juergenhoetzel
Copy link
Copy Markdown

dict.iteritems() was removed in Python 3.0.

Fixes:

 → ./psig  -p $(pidof emacs)
Traceback (most recent call last):
  File "/home/juergen/ghq/github.com/erikdw/psig/./psig", line 229, in <module>
    main(args)
  File "/home/juergen/ghq/github.com/erikdw/psig/./psig", line 177, in main
    print_signal_info(args, args.pid, max_pid_length)
  File "/home/juergen/ghq/github.com/erikdw/psig/./psig", line 157, in print_signal_info
    for k,v in obtain_signal_info(pid).iteritems():
AttributeError: 'collections.OrderedDict' object has no attribute 'iteritems'

dict.iteritems() was removed in Python 3.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant