瀏覽代碼

Merge pull request #416 from troytoman/setupfix

Fix an apparent typo in the setup.py file for Spring test
Brian Hauer 12 年之前
父節點
當前提交
6d8a8c5830
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      spring/setup.py

+ 2 - 3
spring/setup.py

@@ -1,4 +1,3 @@
-
 import subprocess
 import sys
 import setup_util
@@ -18,7 +17,7 @@ def start(args):
     else:
       subprocess.check_call("rm -rf $RESIN_HOME/webapps/*", shell=True)
       subprocess.check_call("cp spring/target/spring.war $RESIN_HOME/webapps/spring.war", shell=True)
-      setup_utilbprocess.check_call("$RESIN_HOME/bin/resinctl start", shell=True)
+      subprocess.check_call("$RESIN_HOME/bin/resinctl start", shell=True)
     return 0
   except subprocess.CalledProcessError:
     return 1
@@ -30,4 +29,4 @@ def stop():
       subprocess.check_call("$RESIN_HOME/bin/resinctl shutdown", shell=True)
     return 0
   except subprocess.CalledProcessError:
-    return 1
+    return 1