Commit 6ad08a94 authored by Rafael Monnerat's avatar Rafael Monnerat

Removed useless imports



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17402 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ccb7808f
...@@ -37,31 +37,21 @@ ...@@ -37,31 +37,21 @@
# fit the constraints. # fit the constraints.
import string, types, sys
# Class monitoring access security control # Class monitoring access security control
from Products.PythonScripts.Utility import allow_class from Products.PythonScripts.Utility import allow_class
from AccessControl import ClassSecurityInfo
from Globals import InitializeClass from Globals import InitializeClass
from Form import BasicForm
from Products.Formulator.Field import ZMIField from Products.Formulator.Field import ZMIField
from Products.Formulator.DummyField import fields from Products.Formulator.DummyField import fields
from Products.Formulator.MethodField import BoundMethod
from DateTime import DateTime from DateTime import DateTime
from Products.Formulator import Widget, Validator from Products.Formulator import Widget, Validator
from Products.Formulator.Errors import FormValidationError, ValidationError from Products.Formulator.Errors import FormValidationError, ValidationError
from SelectionTool import makeTreeList,TreeListLine from SelectionTool import makeTreeList
from Selection import Selection from Selection import Selection
import OFS
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from zLOG import LOG from zLOG import LOG
from copy import copy from copy import copy
from Acquisition import aq_base, aq_inner, aq_parent, aq_self
from Products.Formulator.Form import BasicForm
from Products.CMFCore.utils import getToolByName
from Products.ERP5Type.Utils import getPath
from Products.ERP5Type.Message import Message
class PlanningBoxError(Exception): class PlanningBoxError(Exception):
pass pass
...@@ -1676,7 +1666,7 @@ class BasicStructure: ...@@ -1676,7 +1666,7 @@ class BasicStructure:
main_axis_dict['bound_end'] = len(report_tree_list) main_axis_dict['bound_end'] = len(report_tree_list)
if self.render_format == 'list': if self.render_format == 'list':
main_axis_dict['bound_start'] = 0 main_axis_dict['bound_start'] = 0
main_axis_dict['bound_stop'] = axis_dict['bound_end'] main_axis_dict['bound_stop'] = main_axis_dict['bound_end']
main_axis_dict['bound_page_total'] = 1 main_axis_dict['bound_page_total'] = 1
main_axis_dict['bound_page_current'] = 1 main_axis_dict['bound_page_current'] = 1
main_axis_dict['bound_page_groups'] = 1 main_axis_dict['bound_page_groups'] = 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment