Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

Commit

Permalink
Import print_function now that print is used
Browse files Browse the repository at this point in the history
  • Loading branch information
dinoshauer committed Oct 3, 2014
1 parent 2700ff3 commit 21a699b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pre_commit_hook/sort.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import argparse
import os
from __future__ import print_function

from isort import isort

Expand All @@ -21,7 +22,7 @@ def imports_incorrect(filename):
if args.silent is False:
return_value = 1
isort.SortImports(filename)
print 'FIXED: {0}'.format(os.path.abspath(filename))
print('FIXED: {0}'.format(os.path.abspath(filename)))
else:
isort.SortImports(filename)
return return_value
Expand Down

0 comments on commit 21a699b

Please sign in to comment.