[Assorted-commits] SF.net SVN: assorted: [557] simple-build/trunk/src/googlecode_upload.py
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-03-02 16:49:20
|
Revision: 557 http://assorted.svn.sourceforge.net/assorted/?rev=557&view=rev Author: yangzhang Date: 2008-03-02 08:49:24 -0800 (Sun, 02 Mar 2008) Log Message: ----------- simpler auth Modified Paths: -------------- simple-build/trunk/src/googlecode_upload.py Modified: simple-build/trunk/src/googlecode_upload.py =================================================================== --- simple-build/trunk/src/googlecode_upload.py 2008-03-02 16:46:12 UTC (rev 556) +++ simple-build/trunk/src/googlecode_upload.py 2008-03-02 16:49:24 UTC (rev 557) @@ -231,19 +231,7 @@ tries: How many attempts to make. """ - if config_dir != 'none': - # Try to load username/password from svn config for first try. - if config_dir is None: - config_dir = get_svn_config_dir() - (svn_username, password) = (None, None) # get_svn_auth(project_name, config_dir) - if user_name is None: - # If username was not supplied by caller, use svn config. - user_name = svn_username - else: - user_name, password = get_basic_auth() - else: - # Just initialize password for the first try. - password = None + user_name, password = get_basic_auth() while tries > 0: if user_name is None: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |