Remove redundant line continuations

svn: r16462
This commit is contained in:
Gerald Britton
2011-01-24 20:14:35 +00:00
parent 4313de6f72
commit ef03bdc476
12 changed files with 82 additions and 65 deletions

View File

@@ -141,7 +141,7 @@ class PlaceReport(Report):
"""
This procedure writes out each of the events related to the place
"""
event_handles = [event_handle for (object_type, event_handle) in \
event_handles = [event_handle for (object_type, event_handle) in
self.database.find_backlink_handles(handle)]
event_handles.sort(self.sort.by_date)
@@ -184,13 +184,15 @@ class PlaceReport(Report):
"""
This procedure writes out each of the people related to the place
"""
event_handles = [event_handle for (object_type, event_handle) in \
event_handles = [event_handle for (object_type, event_handle) in
self.database.find_backlink_handles(handle)]
person_list = []
for evt_handle in event_handles:
ref_handles = [x \
for x in self.database.find_backlink_handles(evt_handle)]
ref_handles = [x for x in
self.database.find_backlink_handles(evt_handle)]
print type(self.database.find_backlink_handles(evt_handle))
ref_handles == list(self.database.find_backlink_handles(evt_handle))
for (ref_type, ref_handle) in ref_handles:
if ref_type == 'Person':
person_list.append(ref_handle)