mediagoblin.globals->mediagoblin.mg_globals

This commit is contained in:
Christopher Allan Webber
2011-06-12 17:27:37 -05:00
parent da579dec00
commit 6e7ce8d1af
14 changed files with 32 additions and 35 deletions

View File

@@ -20,7 +20,7 @@ import random
import bcrypt
from mediagoblin.util import send_email, render_template
from mediagoblin import globals as mgoblin_globals
from mediagoblin import mg_globals
def bcrypt_check_password(raw_pass, stored_hash, extra_salt=None):
@@ -112,7 +112,7 @@ def send_verification_email(user, request):
# TODO: There is no error handling in place
send_email(
mgoblin_globals.email_sender_address,
mg_globals.email_sender_address,
[user['email']],
# TODO
# Due to the distributed nature of GNU MediaGoblin, we should