From db6c9fbaa9709d0dea6e0fab1e81e233fbd8a253 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 17 Dec 2014 00:33:04 +0200 Subject: [PATCH] uasyncio.core: Follow builtin "time" module rename to "utime". --- uasyncio.core/uasyncio/core.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uasyncio.core/uasyncio/core.py b/uasyncio.core/uasyncio/core.py index 30bda183..d6be7303 100644 --- a/uasyncio.core/uasyncio/core.py +++ b/uasyncio.core/uasyncio/core.py @@ -1,4 +1,7 @@ -import time +try: + import utime as time +except ImportError: + import time import uheapq as heapq import logging