Commit 47ef7450 authored by Matti Picus's avatar Matti Picus
Browse files

import the built-in module first

parent 426969023396
Pipeline #19714 passed with stage
in 7 minutes and 38 seconds
from __future__ import absolute_import
# Copyright 2000-2010 Michael Hudson-Doyle <micahel@gmail.com> # Copyright 2000-2010 Michael Hudson-Doyle <micahel@gmail.com>
# Armin Rigo # Armin Rigo
# #
...@@ -19,5 +19,8 @@ ...@@ -19,5 +19,8 @@
# CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN # CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# First try the built-in module
from ._minimal_curses import setupterm, tigetstr, tparm, error try:
from _minimal_curses import setupterm, tigetstr, tparm, error
except ImportError:
from ._minimal_curses import setupterm, tigetstr, tparm, error
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment