Skip to content

Commit

Permalink
Issue #12: Fix PythonExec warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
bloslo authored and agi committed Jul 22, 2019
1 parent 8724f23 commit 07bf283
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apilint/src/main/java/org/mozilla/apilint/PythonExec.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@
/** Executes a Python script embedded in the resources. */
public class PythonExec extends Exec {
/** Path to the script to execute */
@Input
String mScriptPath;

/** Path to the python command used to execute the script */
@Input
String mPythonCommand = "python";

@TaskAction
Expand All @@ -48,6 +46,7 @@ public void setPythonCommand(String pythonCommand) {
mPythonCommand = pythonCommand;
}

@Input
public String getPythonCommand() {
return mPythonCommand;
}
Expand All @@ -56,6 +55,7 @@ public void setScriptPath(String scriptPath) {
mScriptPath = scriptPath;
}

@Input
public String getScriptPath() {
return mScriptPath;
}
Expand Down

0 comments on commit 07bf283

Please sign in to comment.