Commit 11fad511 by Piotr Mitros

Fixed syntax errors

parent 7a517a8f
import yaml import yaml
import os
commands = ''' commands = '''
git mv ./template/template.py ./template/{shortname}.py git mv ./template/template.py ./template/{shortname}.py
...@@ -28,12 +29,12 @@ readme.writelines(["{Shortname}XBlock".format(Shortname = settings["short-name"] ...@@ -28,12 +29,12 @@ readme.writelines(["{Shortname}XBlock".format(Shortname = settings["short-name"]
"==============", "==============",
"", "",
settings["description"], settings["description"],
"" "",
settings["overview"]]) settings["overview"]])
for command in commands: for command in commands.split("\n"):
if len(command > 0): if len(command) > 0:
print command print command
os.system(command) os.system(command)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment