9ff542419e41c4d2c138cffeac896a782ca3dad6,src/python/pants/backend/android/tasks/sign_apk.py,SignApkTask,config_file,#SignApkTask#,59

Before Change


        self._config_file = self.context.config.get_required(self._CONFIG_SECTION,
                                                             self._CONFIG_OPTION)
      except Config.ConfigError:
        raise TaskError("The "[{0}]: {1}" option must declare the location of an .ini file "
                        "holding keystore definitions.".format(self._CONFIG_SECTION,
                                                               self._CONFIG_OPTION))
    return self._config_file

  @property

After Change


    if not self._config_file:
      raise TaskError("The "[sign]: keystore_config_location" option must declare the location "
                      "of an .ini file holding keystore definitions.")
    return os.path.expanduser(self._config_file)

  @property
  def default_config_location(self):
    Return the path where pants creates the default keystore config file.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: 9ff542419e41c4d2c138cffeac896a782ca3dad6
Time: 2015-02-25
Author: mateorod9@gmail.com
File Name: src/python/pants/backend/android/tasks/sign_apk.py
Class Name: SignApkTask
Method Name: config_file


Project Name: vatlab/SoS
Commit Name: c2ee9e1bb529a96850cd6621c43c420cea2a9efe
Time: 2016-10-15
Author: ben.bog@gmail.com
File Name: pysos/main.py
Class Name:
Method Name: cmd_remove


Project Name: kwgoodman/numerox
Commit Name: 1960a233b2f869a9a1452bc9c2f656d44866da09
Time: 2018-01-08
Author: kwgoodman@gmail.com
File Name: numerox/numerai.py
Class Name:
Method Name: download_dataset