Difference for python/CFBank.py from version 1.3 to 1.4


version 1.3 version 1.4
Line 20
 
Line 20
 #  #
 #Updated to use new path functions in CFPython -Todd Mitchell  #Updated to use new path functions in CFPython -Todd Mitchell
   
   import os.path
 import shelve  import shelve
   
 import CFgetPaths  import CFPython
   
 class CFBank:  class CFBank:
  bankdb = {}   bankdb = {}
   
  def __init__(self, bankfile):   def __init__(self, bankfile):
  self.bankdb_file = '%s%s' % (CFgetPaths.getPaths('localdir'),bankfile)   self.bankdb_file = os.path.join(CFPython.GetLocalDirectory(),bankfile)
  self.bankdb = shelve.open(self.bankdb_file)   self.bankdb = shelve.open(self.bankdb_file)
   
  def deposit(self, user, amount):   def deposit(self, user, amount):


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

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