~moovida-developers/moovida/0.3-twisted8

« back to all changes in this revision

Viewing changes to elisa-core/elisa/core/config_upgrader.py

  • Committer: Philippe Normand
  • Date: 2008-04-24 08:31:05 UTC
  • Revision ID: phil@base-art.net-20080424083105-590b2q1b8t0ngd13
added an upgrade path for 0.3.6 version
minor fixes in media_scanner to correctly take in account the media
locations to not scan.

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
        cfg.write(full_path)
134
134
 
135
135
    def _update_0_3_5_to_0_3_6(self, cfg=None):
 
136
        self.info('Upgrading from 0.3.5 to 0.3.6')
 
137
        self._backup((0, 3, 5), cfg)
 
138
        if not cfg:
 
139
            cfg = self._current_config
 
140
 
136
141
        # TODO: implement me
137
 
        pass
 
142
            
 
143
        self._current_version = '0.3.5.1'
 
144
        return cfg
138
145
 
139
146
    def _update_0_3_4_to_0_3_5(self, cfg=None):
140
147
        self.info('Upgrading from 0.3.4 to 0.3.5')