• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


Commit MetaInfo

Revisión1b80d881cfcdeaa075c22c397ea821c4bc5fda6c (tree)
Tiempo2012-04-13 04:15:24
AutorDave Brondsema <dbrondsema@geek...>
CommiterDave Brondsema

Log Message

all paster commands require an ini file as the first param

Cambiar Resumen

Diferencia incremental

--- a/Allura/allura/command/base.py
+++ b/Allura/allura/command/base.py
@@ -17,7 +17,7 @@ log = None
1717 class EmptyClass(object): pass
1818
1919 class Command(command.Command):
20- min_args = 0
20+ min_args = 1
2121 max_args = 1
2222 usage = '[<ini file>]'
2323 group_name = 'Allura'
--- a/Allura/allura/command/create_trove_categories.py
+++ b/Allura/allura/command/create_trove_categories.py
@@ -10,7 +10,7 @@ from allura.lib import helpers as h
1010 log = logging.getLogger(__name__)
1111
1212 class CreateTroveCategoriesCommand(base.Command):
13- min_args=None
13+ min_args=1
1414 max_args=None
1515 usage = '<ini file>'
1616 summary = 'Remove any existing trove categories and load new ones'
--- a/Allura/allura/command/show_models.py
+++ b/Allura/allura/command/show_models.py
@@ -28,7 +28,7 @@ class ShowModelsCommand(base.Command):
2828 print line
2929
3030 class ReindexCommand(base.Command):
31- min_args=0
31+ min_args=1
3232 max_args=1
3333 usage = '<ini file>'
3434 summary = 'Reindex and re-shortlink all artifacts'
@@ -102,7 +102,7 @@ class ReindexCommand(base.Command):
102102 base.log.info('Reindex done')
103103
104104 class EnsureIndexCommand(base.Command):
105- min_args=0
105+ min_args=1
106106 max_args=1
107107 usage = '[<ini file>]'
108108 summary = 'Run ensure_index on all mongo objects'