Reformat code.

This commit is contained in:
Alex Root Junior 2017-08-14 22:34:13 +03:00
parent b7bf22bb77
commit 92d3d86a18
42 changed files with 73 additions and 10 deletions

View file

@ -1,5 +1,9 @@
from .deprecated import warn_deprecated
try:
import emoji
warn_deprecated('Use emoji module instead that util')
except ImportError:
raise ImportError('Need install "emoji" module.')

View file

@ -1,8 +1,10 @@
try:
import ujson as json
IS_UJSON = True
except ImportError:
import json
IS_UJSON = False

View file

@ -4,6 +4,7 @@ import subprocess
from .helper import Helper, HelperMode, Item
# Based on https://github.com/django/django/blob/master/django/utils/version.py