Skip to content

Commit

Permalink
Initialized variables
Browse files Browse the repository at this point in the history
  • Loading branch information
hexylena committed Sep 7, 2015
1 parent 060fdff commit 1f3486c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/tool_shed/scripts/bootstrap_tool_shed/bootstrap_util.py
Expand Up @@ -80,6 +80,9 @@ def check_db( config_parser ):
def admin_user_info( ):
user_info_config = os.path.abspath( os.path.join( os.getcwd(), 'lib/tool_shed/scripts/bootstrap_tool_shed', 'user_info.xml' ) )
tree, error_message = xml_util.parse_xml( user_info_config )
username = None
email = None
password = None
if tree is None:
print "The XML file ", user_info_config, " seems to be invalid, using defaults."
email = 'admin@test.org'
Expand Down

0 comments on commit 1f3486c

Please sign in to comment.