* pyupgrade
* various new codemods
* manual removal of Py2/3 compat imports
* manual adjustment of docs, examples, tests
* to_str is now the new to_unicode, deprecated
redirection to to_bytes has been removed
* to_native_str has been redirected to point to
to_str
* to_unicode has been redirected to point to
to_str
* atomic_write refactored to use
NamedTemporaryDirectory
* various other fixes/refactorings all over the
place
7 lines
93 B
Python
7 lines
93 B
Python
#!/usr/bin/env python
|
|
|
|
if __name__ == "__main__":
|
|
import octoprint
|
|
|
|
octoprint.main()
|