Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Remove enum.auto #2063

Merged
merged 1 commit into from
Mar 24, 2019
Merged

Remove enum.auto #2063

merged 1 commit into from
Mar 24, 2019

Conversation

ChristopherRogers1991
Copy link
Collaborator

Replace enum.auto with a similar, custom function. This is for python3.4
compatibility.

@penrods flagged to me that auto() isn't available in python3.4. This PR replaces uses of auto with a custom function.

Contributor license agreement signed?

CLA [x] (Whether you have signed a CLA - Contributor Licensing Agreement

Replace enum.auto with a similar, custom function. This is for python3.4
compatibility.
@forslund forslund added the CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) label Mar 24, 2019
@forslund
Copy link
Collaborator

Looks good and works well, smart to use count for thread-safety! Merging

@forslund forslund merged commit 61dff1d into dev Mar 24, 2019
@forslund forslund deleted the commonIoT/remove_enum.auto branch March 31, 2019 10:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants