From cee58d48ab7724c4c14a9a1d0bf72f2f9ac122cb Mon Sep 17 00:00:00 2001 From: Raphael Ackermann Date: Mon, 7 Jan 2008 17:19:17 +0000 Subject: [PATCH] * src/plugins/EventCmp.py: clean up imports and fix pylint error 0001496: in EventCmp.py: E:198:fix: Using variable 'l' before assignment 2008-01-07 Raphael Ackermann ','>') + l = line.strip().replace('&','&').replace('>','>') return l.replace(l,'<','<').replace(l,'"','"') #------------------------------------------------------------------------- @@ -320,7 +319,8 @@ class DisplayChart(ManagedWindow.ManagedWindow): event.get_date_object().get_sort_value() place_handle = event.get_place_handle() if place_handle: - place = self.db.get_place_from_handle(place_handle).get_title() + place = self.db. \ + get_place_from_handle(place_handle).get_title() tlist.append(date) tlist.append(sortdate) tlist.append(place)