From eb93f34206495d73af12898ec6dc1c9fbd4536a2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 16 Dec 2014 10:58:21 +0100 Subject: [PATCH] cleanup: don't overwrite log its our primary logger, we need to access it! --- webservice/bam/application/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webservice/bam/application/__init__.py b/webservice/bam/application/__init__.py index 72a7e58..85f8430 100644 --- a/webservice/bam/application/__init__.py +++ b/webservice/bam/application/__init__.py @@ -176,12 +176,12 @@ class FileAPI(Resource): if command == 'info': r = svn.local.LocalClient(project.repository_path) - log = r.log_default(None, None, 5, filepath) - log = [l for l in log] + svn_log = r.log_default(None, None, 5, filepath) + svn_log = [l for l in svn_log] return jsonify( filepath=filepath, - log=log) + log=svn_log) elif command == 'checkout': filepath = os.path.join(project.repository_path, filepath)