Changeset 89b48e in indico


Ignore:
Timestamp:
07/13/10 19:20:02 (3 years ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, new-webex, v0.97-series, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
Children:
8eabfb, 87cf46
Parents:
2cd02b
Message:

[FIX] Couple of bugs in the setup process

  • str being raised;
  • 'develop' command was being overwritten by our own - renamed ours to 'develop_config';
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/consoleScripts/installBase.py

    rbdd862 r89b48e  
    139139                new_contents = "%s\n%s = %s" % (new_contents, k, str(result_values[k])) 
    140140        else: 
    141             raise 'Invalid config value "%s = %s"' % (k, new_values[k]) 
     141            raise Exception('Invalid config value "%s = %s"' % (k, new_values[k])) 
    142142 
    143143    # We write unknown options to the end of the file, they may not be just outdated options but plugins' 
  • setup.py

    rc44780 r89b48e  
    293293        ''' % _databaseText('etc') 
    294294 
    295     def _update_conf_dir_paths(self, filepath, dirs): 
     295    def _update_conf_dir_paths(self, filePath, dirs): 
    296296        fdata = open(filePath).read() 
    297297        for dir in dirs.items(): 
     
    344344                    'tests': tests_indico, 
    345345                    'fetchdeps': fetchdeps_indico, 
    346                     'develop': develop_indico, 
     346                    'develop_config': develop_indico, 
    347347                    }, 
    348348 
Note: See TracChangeset for help on using the changeset viewer.