Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dictionary has_key is deprecated in newer versions of python #5

Open
pavelselin opened this issue Apr 24, 2020 · 0 comments
Open

Dictionary has_key is deprecated in newer versions of python #5

pavelselin opened this issue Apr 24, 2020 · 0 comments

Comments

@pavelselin
Copy link

pavelselin commented Apr 24, 2020

In https://github.com/ujappelbe/android_am_instrument_parser2jUnit-xml/blob/master/am_instrument_parser.py#L131

Change from:
if not result_dict.has_key('code'):

To:
if not 'code' in result_dict:

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

No branches or pull requests

1 participant