You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by hu...@apache.org on 2017/10/20 17:43:52 UTC

[kibble] branch master updated: fix trend calculation

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git


The following commit(s) were added to refs/heads/master by this push:
     new 9ef8079  fix trend calculation
9ef8079 is described below

commit 9ef80797caff6dd2647b9643b05f046fee560419
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Fri Oct 20 19:43:43 2017 +0200

    fix trend calculation
    
    typo, should be deletions_before here.
---
 api/pages/code/trends.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api/pages/code/trends.py b/api/pages/code/trends.py
index d8be716..42827bf 100644
--- a/api/pages/code/trends.py
+++ b/api/pages/code/trends.py
@@ -310,7 +310,7 @@ def run(API, environ, indata, session):
         },
         'changes': {
             'before': insertions + deletions,
-            'after': insertions_before + deletions,
+            'after': insertions_before + deletions_before,
             'title': "Lines changed this period"
         }
     }

-- 
To stop receiving notification emails like this one, please contact
['"commits@kibble.apache.org" <co...@kibble.apache.org>'].