Finished the alias sf question in configure.

This commit is contained in:
Jeremy Fincher 2003-11-19 23:18:34 +00:00
parent 738d1bbde3
commit 2a5cc04749
1 changed files with 5 additions and 1 deletions

View File

@ -74,11 +74,15 @@ def configure(onStart, afterConnect, advanced):
if project:
onStart.append('Sourceforge config defaultproject %s' % project)
if yn('Would you like to setup sf as an alias to Sourceforge?') == 'y':
if yn('Would you like to add sf as an alias to Sourceforge?') == 'y':
if 'load Alias' not in onStart:
print 'This depends on the Alias module.'
if yn('Would you like to load the Alias plugin now?') == 'y':
onStart.append('load Alias')
else:
print 'Then I can\'t add such an alias.'
return
onStart.append('alias add sf sourceforge $*')
class TrackerError(Exception):
pass