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

[python supervision] Remove deprecated function. #2662

Merged
merged 2 commits into from Feb 17, 2021

Conversation

Fabien-B
Copy link
Contributor

method time.clock() is deprecated in python 3.8.
It was not needed, so removing it.

self.load_cache()
self.load_conf_files()
self.load_sets_and_configs()
self.load_devices()
self.load_sessions_and_programs()

LOGGER.info("All data loaded in : %s seconds.\n",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep the log info without the time ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And get rid of the import time at the beginning of the file ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, and done.

@gautierhattenberger gautierhattenberger merged commit 71a7295 into paparazzi:master Feb 17, 2021
@Fabien-B Fabien-B deleted the fix_python_supervision branch February 17, 2021 17:41
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.

None yet

3 participants