Improved merge ability

svn: r505
This commit is contained in:
Don Allingham
2001-10-24 01:24:18 +00:00
parent 24f6bdd6ca
commit e591b6b189
10 changed files with 2677 additions and 50 deletions

View File

@@ -293,6 +293,9 @@ class Location:
self.state = ""
self.country = ""
def is_empty(self):
return self.city == "" and self.county == "" and self.state == "" and self.country == ""
def set_city(self,data):
"""sets the city name of the Location object"""
self.city = data