--- a/toolsutils.py Fri Feb 12 12:57:14 2010 +0100
+++ b/toolsutils.py Fri Feb 12 12:57:56 2010 +0100
@@ -28,6 +28,9 @@
from cubicweb import warning
from cubicweb import ConfigurationError, ExecutionError
+def underline_title(title, car='-'):
+ return title+'\n'+(car*len(title))
+
def iter_dir(directory, condition_file=None, ignore=()):
"""iterate on a directory"""
for sub in listdir(directory):
@@ -248,7 +251,7 @@
def main_run(args, doc):
"""command line tool"""
try:
- base_main_run(args, doc)
+ base_main_run(args, doc, copyright=None)
except ConfigurationError, err:
print 'ERROR: ', err
sys.exit(1)