Skip to content

Commit

Permalink
Update to release 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycrosley committed Sep 6, 2013
2 parents 8050957 + b186d5c commit f300ec7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion isort/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
from . import settings
from .isort import SortImports

__version__ = "1.2.0"
__version__ = "1.2.1"
3 changes: 1 addition & 2 deletions isort/isort.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ def __init__(self, file_path=None, file_contents=None, **setting_overrides):
if "/" in file_name:
file_name = file_name[file_name.rfind('/') + 1:]
if file_name in self.config['skip']:
print(file_path + ": refusing to proceed, listed in 'skip' setting.", file=stderr)
sys.exit(1)
print("WARNING: {0} was skipped as it's listed in 'skip' setting".format(file_path), file=stderr)
self.file_path = file_path
with open(file_path) as file:
file_contents = file.read()
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
from distutils.core import setup

setup(name='isort',
version='1.2.0',
version='1.2.1',
description='A Python utility / library to sort Python imports.',
author='Timothy Crosley',
author_email='[email protected]',
url='https://github.com/timothycrosley/isort',
download_url='https://github.com/timothycrosley/isort/blob/master'
'/dist/isort-1.2.0.tar.gz?raw=true',
'/dist/isort-1.2.1.tar.gz?raw=true',
license="MIT",
scripts=['scripts/isort'],
packages=['isort'],
Expand Down

0 comments on commit f300ec7

Please sign in to comment.