pep8 fix
This commit is contained in:
@@ -5,12 +5,12 @@ from sqlalchemy import types
|
|||||||
from sqlalchemy.dialects import postgresql
|
from sqlalchemy.dialects import postgresql
|
||||||
from .scalar_coercible import ScalarCoercible
|
from .scalar_coercible import ScalarCoercible
|
||||||
|
|
||||||
|
passlib = None
|
||||||
try:
|
try:
|
||||||
import passlib
|
import passlib
|
||||||
from passlib.context import CryptContext
|
from passlib.context import CryptContext
|
||||||
|
|
||||||
except ImportError:
|
except ImportError:
|
||||||
passlib = None
|
pass
|
||||||
|
|
||||||
|
|
||||||
class Password(object):
|
class Password(object):
|
||||||
|
Reference in New Issue
Block a user