aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar lberki <lberki@google.com>2017-09-19 13:29:39 +0200
committerGravatar László Csomor <laszlocsomor@google.com>2017-09-19 14:49:14 +0200
commita83774bdd0218ca288d1e54f8ff32457a7bcae00 (patch)
tree31f20627f15b7a49875ff9e545789e9db985f4b0 /src
parent655a529db693e0d3c89a68ca81fc4858147b90f0 (diff)
Remove an unused method.
RELNOTES: None. PiperOrigin-RevId: 169223392
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/python/PythonConfiguration.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/python/PythonConfiguration.java b/src/main/java/com/google/devtools/build/lib/rules/python/PythonConfiguration.java
index 3898906374..f950a585f4 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/python/PythonConfiguration.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/python/PythonConfiguration.java
@@ -27,18 +27,10 @@ public class PythonConfiguration extends BuildConfiguration.Fragment {
PythonConfiguration(PythonVersion pythonVersion, boolean ignorePythonVersionAttribute) {
this.ignorePythonVersionAttribute = ignorePythonVersionAttribute;
-
this.defaultPythonVersion = pythonVersion;
}
/**
- * Returns the Python version (PY2 or PY3) this configuration uses.
- */
- public PythonVersion getDefaultPythonVersion() {
- return defaultPythonVersion;
- }
-
- /**
* Returns the Python version to use. Command-line flag --force_python overrides
* the rule default, given as argument.
*/