Difference for python/CFDataFile.py from version 1.4 to 1.5


version 1.4 version 1.5
Line 19
 
Line 19
    
 import os   import os
 import string   import string
 import CFPython   import Crossfire
    
 class CFDataFile:   class CFDataFile:
     '''Plain text storage for Crossfire data'''       '''Plain text storage for Crossfire data'''
Line 28
 
Line 28
         '''make datafile paths for datafile 'object'           '''make datafile paths for datafile 'object'
         - these all go in ../var/crossfire/datafiles to keep the local dir clean'''           - these all go in ../var/crossfire/datafiles to keep the local dir clean'''
         self.datafile_name = datafile_name           self.datafile_name = datafile_name
         self.filename = os.path.join((CFPython.GetLocalDirectory()),'datafiles',datafile_name)           self.filename = os.path.join((Crossfire.LocalDirectory()),'datafiles',datafile_name)
                  
     def exists(self):       def exists(self):
         '''checks for datafile - no need to load it yet'''           '''checks for datafile - no need to load it yet'''


Legend:
line(s) removed in v.1.4 
line(s) changed
 line(s) added in v.1.5

File made using version 1.96 of cvs2html by leaf at 2006-02-15 17:25