mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 11:36:54 +00:00
corrected print warning of python 3
This commit is contained in:
parent
aab57cf1db
commit
659c0fa0d0
1 changed files with 2 additions and 2 deletions
|
|
@ -25,10 +25,10 @@ class CheckerTemplateMethod(object):
|
|||
self._perform_checks()
|
||||
return 0
|
||||
except ArgumentTypeError as ex:
|
||||
print ex.message
|
||||
print(ex.message)
|
||||
return 1
|
||||
except CheckFailedException as ex:
|
||||
print ex.message
|
||||
print(ex.message)
|
||||
return 2
|
||||
|
||||
@abstractmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue