* src/DisplayModels/_RepositoryModel.py: Properly display the city
svn: r9365
This commit is contained in:
parent
57d0b55a95
commit
e7696a3a51
@ -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>
|
2007-11-16 Stéphane Charette <stephanecharette@gmail.com>
|
||||||
* src/plugins/NarrativeWeb.py: issue #1381, no need to print
|
* src/plugins/NarrativeWeb.py: issue #1381, no need to print
|
||||||
"Confidence" on every reference line if it is "Normal"
|
"Confidence" on every reference line if it is "Normal"
|
||||||
|
@ -107,9 +107,9 @@ class RepositoryModel(BaseModel):
|
|||||||
|
|
||||||
def column_city(self,data):
|
def column_city(self,data):
|
||||||
try:
|
try:
|
||||||
if data[4]:
|
if data[5]:
|
||||||
addr = gen.lib.Address()
|
addr = gen.lib.Address()
|
||||||
addr.unserialize(data[4][0])
|
addr.unserialize(data[5][0])
|
||||||
return addr.get_city()
|
return addr.get_city()
|
||||||
else:
|
else:
|
||||||
return u''
|
return u''
|
||||||
|
Loading…
Reference in New Issue
Block a user