projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0578d8b
)
cleanup
author
Rodney Ewing
<ewing.rj@gmail.com>
Tue, 28 May 2013 16:05:05 +0000
(09:05 -0700)
committer
Rodney Ewing
<ewing.rj@gmail.com>
Tue, 28 May 2013 16:05:05 +0000
(09:05 -0700)
mediagoblin/auth/tools.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/auth/tools.py
b/mediagoblin/auth/tools.py
index 48e0d57248e358c4a0d8fbef66acfeba6ee27fbd..40dcf59eab61ac3fc4704b3e8b0c11ff2a289e61 100644
(file)
--- a/
mediagoblin/auth/tools.py
+++ b/
mediagoblin/auth/tools.py
@@
-15,9
+15,7
@@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import logging
-
import wtforms
-from sqlalchemy import or_
from mediagoblin import mg_globals
from mediagoblin.db.models import User
@@
-30,12
+28,6
@@
from mediagoblin import auth
_log = logging.getLogger(__name__)
-_log = logging.getLogger(__name__)
-
-_log = logging.getLogger(__name__)
-
-_log = logging.getLogger(__name__)
-
def normalize_user_or_email_field(allow_email=True, allow_user=True):
"""