diff options
author | Florian Weikert <fwe@google.com> | 2015-09-14 13:35:34 +0000 |
---|---|---|
committer | Kristina Chodorow <kchodorow@google.com> | 2015-09-14 15:40:49 +0000 |
commit | 4b67d4fed1f4ca8e4b1dd7dce47061b6b3779860 (patch) | |
tree | eb79083b8d1335d71b27e69d6003d7e7ef12ad72 /src/main/java/com/google/devtools/build/lib/rules/python/PyTest.java | |
parent | 835ec9e63b9788b7d573cb78fa27b8cbfb5732d9 (diff) |
Prevented catching/wrapping of InterruptedExceptions, especially in BaseFunction.
--
MOS_MIGRATED_REVID=102988766
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/python/PyTest.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/python/PyTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/python/PyTest.java b/src/main/java/com/google/devtools/build/lib/rules/python/PyTest.java index f433eb81e8..076005ab15 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/python/PyTest.java +++ b/src/main/java/com/google/devtools/build/lib/rules/python/PyTest.java @@ -30,7 +30,7 @@ public abstract class PyTest implements RuleConfiguredTargetFactory { protected abstract PythonSemantics createSemantics(); @Override - public ConfiguredTarget create(RuleContext ruleContext) { + public ConfiguredTarget create(RuleContext ruleContext) throws InterruptedException { PythonSemantics semantics = createSemantics(); PyCommon common = new PyCommon(ruleContext); common.initCommon(getDefaultPythonVersion(ruleContext)); |