diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-10-01 19:30:48 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-10-04 14:36:08 -0400 |
commit | f1747b51182cbe4d77c991492b55fd2df12b4c18 (patch) | |
tree | 3da8d0349dbc0af81b25ce9c713cb3508cf75aff /klippy/reactor.py | |
parent | b8c91914b75c23bae05b29c9c0ebf2bff35a9b4a (diff) | |
download | kutter-f1747b51182cbe4d77c991492b55fd2df12b4c18.tar.gz kutter-f1747b51182cbe4d77c991492b55fd2df12b4c18.tar.xz kutter-f1747b51182cbe4d77c991492b55fd2df12b4c18.zip |
klippy: Add Python2 module wrappers and use Python3 module naming
Add wrappers for some common Python modules so that the code can run
on both Python2 and Python3.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/reactor.py')
-rw-r--r-- | klippy/reactor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/reactor.py b/klippy/reactor.py index dd083a07..69eedcbd 100644 --- a/klippy/reactor.py +++ b/klippy/reactor.py @@ -3,7 +3,7 @@ # Copyright (C) 2016-2020 Kevin O'Connor <kevin@koconnor.net> # # This file may be distributed under the terms of the GNU GPLv3 license. -import os, gc, select, math, time, logging, Queue as queue +import os, gc, select, math, time, logging, queue import greenlet import chelper, util |