Changeset 2531:848a25871806

Show
Ignore:
Timestamp:
12/09/08 09:07:48 (5 weeks ago)
Author:
dunker@…
Branch:
default
Tags:
tip
Message:

remove VERSION check

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • bin/gozerbot

    r2527 r2531  
    8383    writeconfig() 
    8484    config.load() 
    85     if not os.path.isfile(datadir + os.sep + 'VERSION'): 
    86         f = open(datadir + os.sep + 'VERSION', 'w') 
    87         f.write(ver) 
    88         f.close() 
    89     else: 
    90         version = open(datadir + os.sep + 'VERSION', 'r').read() 
    91         if version != ver: 
    92             rlog(10, 'GOZERBOT', 'PLEASE RUN GOZERUPGRADE TO UPDATE YOUR GOZERDATA DIR TO VERSION %s' % ver) 
    93             os._exit(1) 
    9485    if opts.dodebug: 
    9586        import gozerbot.generic