cleanup: don't overwrite log

its our primary logger, we need to access it!
This commit is contained in:
2014-12-16 10:58:21 +01:00
parent eb1a43df10
commit eb93f34206

View File

@@ -176,12 +176,12 @@ class FileAPI(Resource):
if command == 'info': if command == 'info':
r = svn.local.LocalClient(project.repository_path) r = svn.local.LocalClient(project.repository_path)
log = r.log_default(None, None, 5, filepath) svn_log = r.log_default(None, None, 5, filepath)
log = [l for l in log] svn_log = [l for l in svn_log]
return jsonify( return jsonify(
filepath=filepath, filepath=filepath,
log=log) log=svn_log)
elif command == 'checkout': elif command == 'checkout':
filepath = os.path.join(project.repository_path, filepath) filepath = os.path.join(project.repository_path, filepath)