# HG changeset patch # User Marcin Kuzminski # Date 2013-05-08 19:26:27 # Node ID 3306bdd95f11990aed2f0dad270d5481c336a329 # Parent a5746b83123f5e4495311b47c38930d1ab4034f6 bring back accidentally deleted context variables with lines added diff --git a/rhodecode/controllers/pullrequests.py b/rhodecode/controllers/pullrequests.py --- a/rhodecode/controllers/pullrequests.py +++ b/rhodecode/controllers/pullrequests.py @@ -213,6 +213,9 @@ class PullrequestsController(BaseRepoCon c.files = [] c.changes = {} + c.lines_added = 0 + c.lines_deleted = 0 + for f in _parsed: st = f['stats'] c.lines_added += st['added']