r47364 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47363‎ | r47364 | r47365 >
Date:16:13, 17 February 2009
Author:kim
Status:deferred
Tags:
Comment:
Make the ls error message a whole lot more enlightening
Modified paths:
  • /trunk/wikiation/installer/installer.py (modified) (history)

Diff [purge]

Index: trunk/wikiation/installer/installer.py
@@ -77,6 +77,12 @@
7878
7979 def ls(args):
8080 """implement local ls command, lists things we can install"""
 81+ if len(args)<=1:
 82+ print \
 83+"""available.mediawiki: installed.mediawiki:
 84+available.wikiation_toolkit: installed.wikiation_toolkit:
 85+available.extension: installed.extension: """
 86+ return
8187 installers.ls(args)
8288
8389 def info(args):

Status & tagging log