Browse Source

fix syntax error

marko asplund 11 years ago
parent
commit
b34670b71f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frameworks/Java/servlet3-cass/setup.py

+ 1 - 1
frameworks/Java/servlet3-cass/setup.py

@@ -17,7 +17,7 @@ def start(args, logfile, errfile):
       return 0
     subprocess.check_call("rm -rf $RESIN_HOME/webapps/*", shell=True, stderr=errfile, stdout=logfile)
     subprocess.check_call("cp servlet3-cass/target/servlet3-cass.war $RESIN_HOME/webapps/", shell=True, stderr=errfile, stdout=logfile)
-    subprocess.check_call("echo "desc keyspace tfb" | sudo cqlsh", shell=True, stderr=errfile, stdout=logfile)
+    subprocess.check_call("echo 'desc keyspace tfb' | sudo cqlsh", shell=True, stderr=errfile, stdout=logfile)
     subprocess.check_call("$RESIN_HOME/bin/resinctl start", shell=True, stderr=errfile, stdout=logfile)
     return 0
   except subprocess.CalledProcessError: