From e7696a3a5179e73ce9ead9e27cc28f902d78e1e4 Mon Sep 17 00:00:00 2001 From: Martin Hawlisch Date: Sat, 17 Nov 2007 22:20:46 +0000 Subject: [PATCH] * src/DisplayModels/_RepositoryModel.py: Properly display the city svn: r9365 --- ChangeLog | 3 +++ src/DisplayModels/_RepositoryModel.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 010a39abf..df59918b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-11-17 Martin Hawlisch + * src/DisplayModels/_RepositoryModel.py: Properly display the city + 2007-11-16 Stéphane Charette * src/plugins/NarrativeWeb.py: issue #1381, no need to print "Confidence" on every reference line if it is "Normal" diff --git a/src/DisplayModels/_RepositoryModel.py b/src/DisplayModels/_RepositoryModel.py index f3c0081d7..2d3b2eabd 100644 --- a/src/DisplayModels/_RepositoryModel.py +++ b/src/DisplayModels/_RepositoryModel.py @@ -107,9 +107,9 @@ class RepositoryModel(BaseModel): def column_city(self,data): try: - if data[4]: + if data[5]: addr = gen.lib.Address() - addr.unserialize(data[4][0]) + addr.unserialize(data[5][0]) return addr.get_city() else: return u''