old_contents: # -*- coding: utf-8 -*-
  import openerp
  from openerp.http import request
  
  
  class Controller(openerp.addons.bus.bus.Controller):
  
      def _poll(self, dbname, channels, last, options):
          if request.session.uid:
              channels.append((request.db, 'pos.multi_session', request.uid))
          return super(Controller, self)._poll(dbname, channels, last, options)
  
      @openerp.http.route('/pos_multi_session/update', type="json", auth="public")
      def multi_session_update(self, multi_session_id, message):
          res = request.env["pos.multi_session"].browse(int(multi_session_id)).broadcast(message)
          return res
  
new_contents: # -*- coding: utf-8 -*-
  import openerp
  from openerp.http import request
  from openerp.addons.bus.bus import Controller as bus_controller
  
  
  class Controller(bus_controller):
  
      def _poll(self, dbname, channels, last, options):
          if request.session.uid:
              channels.append((request.db, 'pos.multi_session', request.uid))
          return super(Controller, self)._poll(dbname, channels, last, options)
  
      @openerp.http.route('/pos_multi_session/update', type="json", auth="public")
      def multi_session_update(self, multi_session_id, message):
          res = request.env["pos.multi_session"].browse(int(multi_session_id)).broadcast(message)
          return res
  
subject: fix travis errors: