Comment 7 for bug 614605

Revision history for this message
Magosányi Árpád (mag-magwas) wrote :

I have a similar-sounding issue.
Triggered by commit 89428d07347d67e287d8f605979739f6ff61ad9e and worked around in acd774d5a2640f1e24359870df988894d7acf88b of https://github.com/magwas/PDOauth
The workaround is not to use wildcard import:

diff --git a/src/pdoauth/main.py b/src/pdoauth/main.py
index 6c65cd6..1653ecb 100644
--- a/src/pdoauth/main.py
+++ b/src/pdoauth/main.py
@@ -17,7 +17,7 @@ from pdoauth.forms.CredentialForm import CredentialForm
 from pdoauth.forms.CredentialIdentifierForm import CredentialIdentifierForm
 from pdoauth.forms.DeregisterDoitForm import DeregisterDoitForm
 from pdoauth.FlaskInterface import FlaskInterface
-from pdoauth.models import * # @UnusedWildImport
+from pdoauth import models # @UnusedWildImport

 db.create_all()