Skip to content

Commit

Permalink
import sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
jquast committed Sep 7, 2013
1 parent 249dedf commit 523e982
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions blessings/__init__.py
@@ -1,18 +1,24 @@
from contextlib import contextmanager
"""
(c) 2012 Erik Rose
MIT Licensed
https://github.com/erikrose/blessings
"""
import curses
from curses import tigetstr, tigetnum, setupterm, tparm
import os
import struct
import sys
from contextlib import contextmanager
from curses import setupterm, tigetnum, tigetstr, tparm
from fcntl import ioctl
from platform import python_version_tuple
from termios import TIOCGWINSZ

try:
from io import UnsupportedOperation as IOUnsupportedOperation
except ImportError:
class IOUnsupportedOperation(Exception):
"""A dummy exception to take the place of Python 3's
``io.UnsupportedOperation`` in Python 2"""
import os
from platform import python_version_tuple
import struct
import sys
from termios import TIOCGWINSZ


__all__ = ['Terminal']
Expand Down

0 comments on commit 523e982

Please sign in to comment.