Commit 5cfedac3 authored by Romain Courteaud's avatar Romain Courteaud

Replace tab by 2 spaces


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19909 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2a853042
...@@ -1645,8 +1645,8 @@ class BasicStructure: ...@@ -1645,8 +1645,8 @@ class BasicStructure:
position +=1 position +=1
# recovering usefull informations, basic_structure # recovering usefull informations, basic_structure
if self.title_line not in (None,''): if self.title_line not in (None,''):
title_line_method = getattr(report_group_object.getObject(), title_line_method = getattr(report_group_object.getObject(),
self.title_line, None) self.title_line, None)
else: else:
title_line_method = getattr(report_group_object.getObject(), title_line_method = getattr(report_group_object.getObject(),
'getTitle', None) 'getTitle', None)
...@@ -1684,7 +1684,7 @@ class BasicStructure: ...@@ -1684,7 +1684,7 @@ class BasicStructure:
lane_axis_bounds) lane_axis_bounds)
self.basic_group_list.append(child_group) self.basic_group_list.append(child_group)
return 1 return 1
...@@ -2098,8 +2098,8 @@ class PlanningStructure: ...@@ -2098,8 +2098,8 @@ class PlanningStructure:
for domain in basic_structure.lane_domain_list: for domain in basic_structure.lane_domain_list:
axis_group = AxisGroup(name='group_lane_' + str(axis_group_number), axis_group = AxisGroup(name='group_lane_' + str(axis_group_number),
title=domain.getProperty('title'), title=domain.getProperty('title'),
delimiter_type=domain.getProperty('delimiter_type'), delimiter_type=domain.getProperty('delimiter_type'),
link=domain.getProperty('link',None)) link=domain.getProperty('link',None))
axis_group.tooltip = domain.getProperty('tooltip') axis_group.tooltip = domain.getProperty('tooltip')
relative_pos = int(domain.getProperty('relative_position')) relative_pos = int(domain.getProperty('relative_position'))
axis_group.position_lane.relative_begin = relative_pos - axis_start axis_group.position_lane.relative_begin = relative_pos - axis_start
......
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