/[pac]/CMFGeographics/Extensions/Properties.py
ViewVC logotype

Diff of /CMFGeographics/Extensions/Properties.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by tvon, Sat Oct 11 06:01:26 2003 UTC revision 1.2 by tvon, Tue Oct 14 00:10:16 2003 UTC
# Line 15  Produces a property sheet such as: Line 15  Produces a property sheet such as:
15  def buildProperties(item, item_langs, keyfile):  def buildProperties(item, item_langs, keyfile):
16    
17      codes = []      codes = []
18        # FIXME: heh...ummmm
19      for line in open('/home/tvon/Zope/lib/python/Products/CMFGeographics/data/%s' % keyfile):      for line in open('/home/tvon/Zope/lib/python/Products/CMFGeographics/data/%s' % keyfile):
20          codes.append(line.replace('\n', ''))          codes.append(line.replace('\n', ''))
21    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26