~dpb/tarmac/ls-fixes

« back to all changes in this revision

Viewing changes to tarmac/config.py

  • Committer: Sidnei da Silva
  • Date: 2012-07-30 17:22:08 UTC
  • mfrom: (394.7.2 trunk)
  • Revision ID: sidnei.da.silva@canonical.com-20120730172208-1db71na2so297ywo
- Merge from upstream trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
                section.startswith('lp:')]
105
105
 
106
106
    def _check_config_dirs(self):
107
 
        '''Create the configuration directory if it doesn't exist.'''
 
107
        '''Create the configuration directory if it does not exist.'''
108
108
        if not os.path.exists(self.CONFIG_HOME):
109
109
            os.makedirs(self.CONFIG_HOME)
110
110
        if not os.path.exists(self.CACHE_HOME):
117
117
class BranchConfig:
118
118
    '''A Branch specific config.
119
119
 
120
 
    Instead of providing the whole config for branches, it's better to provide
 
120
    Instead of providing the whole config for branches, it is better to provide
121
121
    it with only its specific config vars.
122
122
    '''
123
123