Docstrings are not for chickens

parent 80f20dbc
...@@ -426,9 +426,11 @@ def getPath(): ...@@ -426,9 +426,11 @@ def getPath():
else: else:
return jsonify(code=1, result=realfile) return jsonify(code=1, result=realfile)
#update instance parameter into a local xml file
@login_required() @login_required()
def saveParameterXml(): def saveParameterXml():
"""
Update instance parameter into a local xml file.
"""
project = os.path.join(app.config['etc_dir'], ".project") project = os.path.join(app.config['etc_dir'], ".project")
if not os.path.exists(project): if not os.path.exists(project):
return jsonify(code=0, result="Please first open a Software Release") return jsonify(code=0, result="Please first open a Software Release")
......
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