etwist/twctl.py
branchstable
changeset 2395 e3093fc12a00
parent 1977 606923dff11b
child 2476 1294a6bdf3bf
--- a/etwist/twctl.py	Sat Jul 18 16:17:46 2009 +0200
+++ b/etwist/twctl.py	Sat Jul 18 22:58:30 2009 +0200
@@ -8,6 +8,7 @@
 
 import sys
 
+from cubicweb import underline_title
 from cubicweb.toolsutils import CommandHandler
 from cubicweb.web.webctl import WebCreateHandler
 
@@ -20,7 +21,7 @@
 
     def bootstrap(self, cubes, inputlevel=0):
         """bootstrap this configuration"""
-        print '** twisted configuration'
+        print '\n'+underline_title('Configuring Twisted')
         mainpyfile = self.config.server_file()
         mainpy = open(mainpyfile, 'w')
         mainpy.write('''
@@ -28,7 +29,7 @@
 application = server.main(%r, %r)
 ''' % (self.config.appid, self.config.name))
         mainpy.close()
-        print 'application\'s twisted file %s generated' % mainpyfile
+        print '-> generated %s' % mainpyfile
         super(TWCreateHandler, self).bootstrap(cubes, inputlevel)