[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r6883 - trunk/gnue-packages/base/location
From: |
kilo |
Subject: |
[gnue] r6883 - trunk/gnue-packages/base/location |
Date: |
Mon, 10 Jan 2005 05:52:17 -0600 (CST) |
Author: kilo
Date: 2005-01-10 05:52:16 -0600 (Mon, 10 Jan 2005)
New Revision: 6883
Modified:
trunk/gnue-packages/base/location/loc.gcd
Log:
Fix by wt: check existance of property
Modified: trunk/gnue-packages/base/location/loc.gcd
===================================================================
--- trunk/gnue-packages/base/location/loc.gcd 2005-01-10 11:17:07 UTC (rev
6882)
+++ trunk/gnue-packages/base/location/loc.gcd 2005-01-10 11:52:16 UTC (rev
6883)
@@ -56,7 +56,7 @@
<property name="name" type="string(35)" nullable="False"
comment="GNUe, Abbey, Appia..." />
<property name="type" type="string(35)"
comment="street/avenue/boulevard/etc." />
<property name="formatted" type="string"
comment="Formatted per local requirements">
- return self.name + ' ' + self.type
+ return self.name + (self.type and (' ' + self.type) or '')
</property>
</class>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r6883 - trunk/gnue-packages/base/location,
kilo <=