* src/DisplayModels/_RepositoryModel.py: Properly display the city

svn: r9365
This commit is contained in:
Martin Hawlisch 2007-11-17 22:20:46 +00:00
parent 57d0b55a95
commit e7696a3a51
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2007-11-17 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/DisplayModels/_RepositoryModel.py: Properly display the city
2007-11-16 Stéphane Charette <stephanecharette@gmail.com>
* src/plugins/NarrativeWeb.py: issue #1381, no need to print
"Confidence" on every reference line if it is "Normal"

View File

@ -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''