mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +01:00
Finished the alias sf question in configure.
This commit is contained in:
parent
738d1bbde3
commit
2a5cc04749
@ -74,11 +74,15 @@ def configure(onStart, afterConnect, advanced):
|
|||||||
if project:
|
if project:
|
||||||
onStart.append('Sourceforge config defaultproject %s' % 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:
|
if 'load Alias' not in onStart:
|
||||||
print 'This depends on the Alias module.'
|
print 'This depends on the Alias module.'
|
||||||
if yn('Would you like to load the Alias plugin now?') == 'y':
|
if yn('Would you like to load the Alias plugin now?') == 'y':
|
||||||
onStart.append('load Alias')
|
onStart.append('load Alias')
|
||||||
|
else:
|
||||||
|
print 'Then I can\'t add such an alias.'
|
||||||
|
return
|
||||||
|
onStart.append('alias add sf sourceforge $*')
|
||||||
|
|
||||||
class TrackerError(Exception):
|
class TrackerError(Exception):
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user