Changeset 110

Show
Ignore:
Timestamp:
10/30/06 15:50:42 (2 years ago)
Author:
trivoallan
Message:

File should be created automatically.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cleverbox/branches/0.1/cleverbox/scripts/admin.py

    r109 r110  
    156156        # Create VERSION file 
    157157        try: 
    158             fd = open( os.path.join(self.envname, 'VERSION'), 'w+' ) 
     158            fd = open( os.path.join(self.envname, 'VERSION'), 'w' ) 
    159159            fd.write(_version) 
    160160        finally: 
  • cleverbox/trunk/cleverbox/environment/Environment.py

    r107 r110  
    8888            config.set('general', directive, str(value)) 
    8989 
    90         fh_config = open(os.path.join(self.env_path, 'cleverbox.ini'), 'w+') 
     90        fh_config = open(os.path.join(self.env_path, 'cleverbox.ini'), 'w') 
    9191        config.write(fh_config) 
    9292