[MERGE] merged trunk.
authorVo Minh Thu <vmt@openerp.com>
Mon, 16 Jan 2012 11:06:31 +0000 (12:06 +0100)
committerVo Minh Thu <vmt@openerp.com>
Mon, 16 Jan 2012 11:06:31 +0000 (12:06 +0100)
bzr revid: vmt@openerp.com-20120116110631-lrzp6uxsjki7by22

1  2 
addons/web/common/http.py
addons/web/controllers/main.py

Simple merge
@@@ -18,9 -18,13 +18,13 @@@ from cStringIO import StringI
  
  import babel.messages.pofile
  import werkzeug.utils
+ try:
+     import xlwt
+ except ImportError:
+     xlwt = None
  
 -import web.common
 -openerpweb = web.common.http
 +from .. import common
 +openerpweb = common.http
  
  #----------------------------------------------------------
  # OpenERP Web web Controllers