diff options
author | Benjamin Saller <bcsaller@objectrealms.net> | 2007-10-07 17:12:13 (GMT) |
---|---|---|
committer | Benjamin Saller <bcsaller@objectrealms.net> | 2007-10-07 17:12:13 (GMT) |
commit | b603f340b26c57bb93f35188036e474cc87a5a3b (patch) | |
tree | 9eddba1b56c63defb6418aef4a425155db2b88b4 /bin | |
parent | f6d8c721121bc3e4546540cd35b3d0d3703a97dc (diff) |
orderby fix, allow []
-m to datastore-service will mount default repo allowing simple command line testing again
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/datastore-service | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/datastore-service b/bin/datastore-service index 8bf5fdc..758ca45 100755 --- a/bin/datastore-service +++ b/bin/datastore-service @@ -79,6 +79,12 @@ def main(): # really awful import time context = mainloop.get_context() + + if '-m' in sys.argv: + # mount automatically for local testing + ds.mount(repo_dir) + ds.complete_indexing() + try: while connected: context.iteration(False) |