diff options
author | Yun Peng <pcloudy@google.com> | 2016-03-18 21:14:51 +0000 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2016-03-21 09:35:16 +0000 |
commit | da9410cff80eeeaf080fa0149c6fe4d583124987 (patch) | |
tree | 6e936437a7d9b3c08c4080decd49b52c0e890a7e /src/main/java/com/google/devtools/build/lib/rules/python/PyCommon.java | |
parent | e0239b7aead2ab1f49bdd3a911513082289fc4fc (diff) |
Fixed indentation problem: 8 spaces -> 4 spaces
--
MOS_MIGRATED_REVID=117583615
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/python/PyCommon.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/python/PyCommon.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/python/PyCommon.java b/src/main/java/com/google/devtools/build/lib/rules/python/PyCommon.java index 34c66f1413..2b01aec41a 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/python/PyCommon.java +++ b/src/main/java/com/google/devtools/build/lib/rules/python/PyCommon.java @@ -274,13 +274,13 @@ public final class PyCommon { } private NestedSet<Artifact> getTransitivePythonSourcesFromSkylarkProvider( - TransitiveInfoCollection dep) { + TransitiveInfoCollection dep) { SkylarkClassObject pythonSkylarkProvider = null; SkylarkProviders skylarkProviders = dep.getProvider(SkylarkProviders.class); try { if (skylarkProviders != null) { pythonSkylarkProvider = skylarkProviders.getValue(PYTHON_SKYLARK_PROVIDER_NAME, - SkylarkClassObject.class); + SkylarkClassObject.class); } if (pythonSkylarkProvider != null) { @@ -292,11 +292,11 @@ public final class PyCommon { errorType = EvalUtils.getDataTypeNameFromClass(sourceFiles.getClass()); } String errorMsg = "Illegal Argument: attribute '%s' in provider '%s' is " - + "of unexpected type. Should be a set, but got a '%s'"; + + "of unexpected type. Should be a set, but got a '%s'"; NestedSet<Artifact> pythonSourceFiles = SkylarkType.cast( - sourceFiles, SkylarkNestedSet.class, Artifact.class, null, - errorMsg, TRANSITIVE_PYTHON_SRCS, PYTHON_SKYLARK_PROVIDER_NAME, errorType) - .getSet(Artifact.class); + sourceFiles, SkylarkNestedSet.class, Artifact.class, null, + errorMsg, TRANSITIVE_PYTHON_SRCS, PYTHON_SKYLARK_PROVIDER_NAME, errorType) + .getSet(Artifact.class); return pythonSourceFiles; } } catch (EvalException e) { |