mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-08 04:34:16 +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()
|
self._perform_checks()
|
||||||
return 0
|
return 0
|
||||||
except ArgumentTypeError as ex:
|
except ArgumentTypeError as ex:
|
||||||
print ex.message
|
print(ex.message)
|
||||||
return 1
|
return 1
|
||||||
except CheckFailedException as ex:
|
except CheckFailedException as ex:
|
||||||
print ex.message
|
print(ex.message)
|
||||||
return 2
|
return 2
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue