Show
Ignore:
Timestamp:
02/29/08 17:57:52 (4 years ago)
Author:
trivoallan
Message:

cleverbox :

  • fixed cleverbox version number. Fixes #37
  • explicitely forbid the cleverbox to run with trac-0.10.3. Fixes #43
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cleverbox/trunk/cleverbox/scripts/admin.py

    r261 r328  
    6060        self.env = Environment(env_path) 
    6161 
    62         # Check if environment needs an upgrade 
    6362        try: 
     63            # Cleverbox cannot run with trac-0.10.3 
     64            import trac 
     65            if trac.__version__ == '0.10.3': 
     66                print 
     67                print "A bug in trac-0.10.3 prevents the cleverbox from working correctly." 
     68                print "Please upgrade or downgrade your trac installation." 
     69                print 
     70                 
     71                sys.exit(1) 
     72                 
     73            # Check if environment needs an upgrade             
    6474            if check_upgrade and self.env.needs_upgrade(cleverbox.version): 
    6575                print