Changeset 264

Show
Ignore:
Timestamp:
02/23/08 13:53:10 (6 months ago)
Author:
trivoallan
Message:

cleverbox : added missing upgrade script.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cleverbox/branches/0.4/cleverbox/upgrades/upgrades.py

    r260 r264  
    2424        print "Your only choice left is to pay big money for Clever Age (http://www.clever-age.com) consultants to make a manual migration." 
    2525 
     26def do_upgrade_2(envname, env_version): 
     27    import os 
     28 
     29    print "Upgrading to %s" % env_version 
     30 
     31    f = open(os.path.join(envname, 'VERSION'), 'w') 
     32    f.write(env_version) 
     33    f.close() 
     34 
     35    print "Done upgrading"