hunk.code_window:     def page_range(self, total_record, limit):
           '''Returns number of pages required for pagination'''
           total = ceil(total_record / float(limit))
           return range(1, int(total + 1))
       def get_graph_data(self, question, current_filters=[]):
           '''Returns formatted data required by graph library on basis of filter'''
  
hunk.labels: keep keep keep keep keep replace keep
hunk.after_edit:     def get_graph_data(self, question, current_filters=None):
  
hunk.file_path: addons/survey/controllers/main.py
hunk.type: replace
file: # -*- coding: utf-8 -*-
  ##############################################################################
  #
  #    OpenERP, Open Source Management Solution
  #    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
  #
  #    This program is free software: you can redistribute it and/or modify
  #    it under the terms of the GNU Affero General Public License as
  #    published by the Free Software Foundation, either version 3 of the
  #    License, or (at your option) any later version.
  #
  #    This program is distributed in the hope that it will be useful,
  #    but WITHOUT ANY WARRANTY; without even the implied warranty of
  #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  #    GNU Affero General Public License for more details.
  #
  #    You should have received a copy of the GNU Affero General Public License
  #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
  #
  ##############################################################################
  
  {
      'name': 'Google Drive™ integration',
      'version': '0.2',
      'author': 'OpenERP SA',
      'website': 'http://openerp.com',
      'category': 'Tools',
      'installable': True,
      'auto_install': False,
      'data': [
          'security/ir.model.access.csv',
          'res_config_user_view.xml',
          'google_drive_data.xml',
          'views/google_drive.xml',
      ],
      'demo': [
          'google_drive_demo.xml'
      ],
      'depends': ['base_setup', 'google_account'],
      'description': """
  Integrate google document to OpenERP record.
  ============================================
  
  This module allows you to integrate google documents to any of your OpenERP record quickly and easily using OAuth 2.0 for Installed Applications,
  You can configure your google Authorization Code from Settings > Configuration > General Settings by clicking on "Generate Google Authorization Code"
  """
  }
  