commit | d1ec521513e077f8e02362329c817666cd3d0f2e | [log] [tgz] |
---|---|---|
author | Guenter Roeck <groeck@chromium.org> | Tue May 12 14:58:17 2020 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Wed May 13 20:12:17 2020 +0000 |
tree | 7a49981c6d1e89dc68a9d62aa72b64f266c80c11 | |
parent | 9c7f67b47941eddec30bb0da5e6630f6659839e3 [diff] |
findmissing: Explicitly import MySQLdb.constants.ER On GCE, MySQLdb.constants.ER is only available if it is imported explicitly. BUG=None TEST=Run on GCE Change-Id: I763c9c1cb7a50950b3b09d894ebc2d1bb108fdd4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/2197577 Reviewed-by: Curtis Malainey <cujomalainey@chromium.org> Commit-Queue: Guenter Roeck <groeck@chromium.org> Tested-by: Guenter Roeck <groeck@chromium.org>
diff --git a/contrib/findmissing/initdb_upstream.py b/contrib/findmissing/initdb_upstream.py index 453fae3..d86c5a7 100755 --- a/contrib/findmissing/initdb_upstream.py +++ b/contrib/findmissing/initdb_upstream.py
@@ -12,6 +12,7 @@ import re import subprocess import MySQLdb +import MySQLdb.constants.ER import common