Revision 6a14ac68 ci/utils.py

b/ci/utils.py
140 140

  
141 141
        # Read config file
142 142
        if config_file is None:
143
            config_file = DEFAULT_CONFIG_FILE
144
        if not os.path.isabs(config_file):
145
            config_file = os.path.join(self.ci_dir, config_file)
143
            config_file = os.path.join(self.ci_dir, DEFAULT_CONFIG_FILE)
144
        config_file = os.path.abspath(config_file)
146 145
        self.config = ConfigParser()
147 146
        self.config.optionxform = str
148 147
        self.config.read(config_file)

Also available in: Unified diff