commit/galaxy-central: dannon: Cleanup user controller imports, remove import *'s.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/e327eba84158/ changeset: e327eba84158 user: dannon date: 2012-09-25 17:07:25 summary: Cleanup user controller imports, remove import *'s. affected #: 1 file diff -r b4e09ad8245967bc757c57f09a467bafd91ea370 -r e327eba84158eb62d0c5c76e77a62ae999fc3779 lib/galaxy/web/controllers/user.py --- a/lib/galaxy/web/controllers/user.py +++ b/lib/galaxy/web/controllers/user.py @@ -1,16 +1,22 @@ """ Contains the user interface in the Universe class """ + +import glob +import logging +import os +import socket +import string +import random +from galaxy import web +from galaxy import util, model +from galaxy.model.orm import and_ +from galaxy.security.validate_user_input import validate_email, validate_publicname, validate_password, transform_publicname +from galaxy.util.json import from_json_string, to_json_string +from galaxy.web import url_for +from galaxy.web.base.controller import BaseUIController, UsesFormDefinitionsMixin, get_webapp +from galaxy.web.form_builder import CheckboxField, build_select_field from galaxy.web.framework.helpers import time_ago, grids -from galaxy.web.base.controller import * -from galaxy.model.orm import * -from galaxy import util, model -import logging, os, string, re, socket, glob -from random import choice -from galaxy.web.form_builder import * -from galaxy.util.json import from_json_string, to_json_string -from galaxy.web.framework.helpers import iff -from galaxy.security.validate_user_input import validate_email, validate_publicname, validate_password, transform_publicname log = logging.getLogger( __name__ ) @@ -916,7 +922,7 @@ chars = string.letters + string.digits new_pass = "" for i in range(15): - new_pass = new_pass + choice(chars) + new_pass = new_pass + random.choice(chars) host = trans.request.host.split(':')[0] if host == 'localhost': host = socket.getfqdn() Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket