<s> from command import Command , MirrorSafeCommand <EOL> class List ( Command , MirrorSafeCommand ) : <EOL> common = True <EOL> helpSummary = "<STR_LIT>" <EOL> helpUsage = """<STR_LIT>""" <EOL> helpDescription = """<STR_LIT>""" <EOL> def Execute ( self , opt , args ) : <EOL> """<STR_LIT>""" <EOL> projects = self . GetProjects ( args ) <EOL> lines = [ ] <EOL> for project in projects : <EOL> lines . append ( "<STR_LIT>" % ( project . relpath , project . name ) ) <EOL> lines . sort ( ) <EOL> print '<STR_LIT:\n>' . join ( lines ) </s>
