Skip to content

Commit

Permalink
Release 1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycrosley committed Sep 8, 2013
2 parents e62dd4b + 8df3ecd commit c66885c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Binary file added dist/isort-1.2.3.tar.gz
Binary file not shown.
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.2"
__version__ = "1.2.3"
3 changes: 2 additions & 1 deletion isort/isort.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def __init__(self, file_path=None, file_contents=None, **setting_overrides):

file_name = file_path
if file_path:
file_path = os.path.abspath(file_path)
if "/" in file_name:
file_name = file_name[file_name.rfind('/') + 1:]
if file_name in self.config['skip']:
Expand Down Expand Up @@ -83,7 +84,7 @@ def __init__(self, file_path=None, file_contents=None, **setting_overrides):

self.output = "\n".join(self.out_lines)
if file_name:
with open(file_name, "w") as outputFile:
with open(self.file_path, "w") as outputFile:
outputFile.write(self.output)

def place_module(self, moduleName):
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.2',
version='1.2.3',
description='A Python utility / library to sort Python imports.',
author='Timothy Crosley',
author_email='timothy.crosley@gmail.com',
url='https://github.com/timothycrosley/isort',
download_url='https://github.com/timothycrosley/isort/blob/master'
'/dist/isort-1.2.2.tar.gz?raw=true',
'/dist/isort-1.2.3.tar.gz?raw=true',
license="MIT",
scripts=['scripts/isort'],
packages=['isort'],
Expand Down

0 comments on commit c66885c

Please sign in to comment.