summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2015-08-21 18:07:30 -0700
committerTimothy Crosley <timothy.crosley@gmail.com>2015-08-21 18:07:30 -0700
commit1cb98b91888cb7301e2c01a9a34eb7aa6d125868 (patch)
tree595d6d03e360e8e4569971f839c42def0ffd45d1
parentc57a944ac5366cee382ccd0f3eed9635f0f4715c (diff)
downloadisort-feature/ascii-art.tar.gz
Make consistent, remove unnecarry importfeature/ascii-art
-rwxr-xr-xisort/main.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/isort/main.py b/isort/main.py
index 72f3604c..ed927cd0 100755
--- a/isort/main.py
+++ b/isort/main.py
@@ -27,14 +27,13 @@ import sys
import setuptools
-import isort
from isort import SortImports, __version__
from isort.settings import DEFAULT_SECTIONS, default, from_path
from .pie_slice import *
-LOGO = """
+INTRO = """
/#######################################################################\\
`sMMy`
@@ -55,7 +54,7 @@ LOGO = """
VERSION {0}
\########################################################################/
-""".format(isort.__version__)
+""".format(__version__)
def iter_source_code(paths):
@@ -214,7 +213,7 @@ def main():
if arguments.get('recursive', False):
file_names = iter_source_code(file_names)
num_skipped = 0
- print(LOGO)
+ print(INTRO)
for file_name in file_names:
try:
sort_attempt = SortImports(file_name, **arguments)