cubicweb #607344 Have nicer warning on base-url format error [resolved]

Apparently base-url needs to finish with a /. On a cubicweb-ctl restart with a wrong base-url, we get

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/cubicweb/cwctl.py", line 122, in run_arg
    cmdmeth(appid)
  File "/usr/lib/python2.5/site-packages/cubicweb/cwctl.py", line 507, in restart_instance
    self.start_instance(appid)
File "/usr/lib/python2.5/site-packages/cubicweb/cwctl.py", line 419, in start_instance
  helper.start_server(config, debug)
File "/usr/lib/python2.5/site-packages/cubicweb/etwist/twctl.py", line 27, in start_server
  server.run(config, debug)
File "/usr/lib/python2.5/site-packages/cubicweb/etwist/server.py", line 381, in run
  root_resource = CubicWebRootResource(config, debug)
File "/usr/lib/python2.5/site-packages/cubicweb/etwist/server.py", line 103, in __init__
  assert self.base_url[-1] == '/'
AssertionError

It would be nice to have a formatted warning.

prioritynormal
typebug
done in3.5.11
load0.100
load left0.000
closed by#c3e7d0f85637 closes #607344 by simply appending '/' to base url if necessary instead of insulting the user