Skip to content

Commit

Permalink
Do not call setExecuting from inside the command
Browse files Browse the repository at this point in the history
  • Loading branch information
Kan-Ru Chen committed Aug 19, 2011
1 parent 43a06aa commit 2a95728
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/org/zeroxlab/aster/cmds/AsterCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ public AsterOperation[] getOperations() {

/* Execute command */
public ExecutionResult execute() {
setExecuting(true);
try {
mRunner.runStringLocal(toScript());
} catch (PyException e) {
Expand Down
1 change: 0 additions & 1 deletion src/org/zeroxlab/aster/cmds/Recall.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ public void fillSettings(SimpleBindings settings) throws IOException {

@Override
public ExecutionResult execute() {
setExecuting(true);
ExecutionResult result = new ExecutionResult(true, "");
try {
if (mScript.length() != 0)
Expand Down

0 comments on commit 2a95728

Please sign in to comment.