Better one for Issue #2769

This commit is contained in:
Miroslav Stampar
2017-11-10 00:44:33 +01:00
parent e80e841b25
commit e9380627e1
3 changed files with 4 additions and 4 deletions

View File

@@ -262,7 +262,7 @@ def main():
logger.error(errMsg)
raise SystemExit
elif "twophase" in excMsg:
elif all(_ in excMsg for _ in ("twophase", "sqlalchemy")):
errMsg = "please update the 'sqlalchemy' package"
errMsg += "(Reference: https://github.com/apache/incubator-superset/issues/3447)"
logger.error(errMsg)