diff rhodecode/controllers/changelog.py @ 4036:4fb3a7286e7b

do not overwrite python types
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 25 Jun 2013 20:26:16 +0200
parents 4627bc2dc8be
children 0e1023147334
line wrap: on
line diff
--- a/rhodecode/controllers/changelog.py	Tue Jun 25 20:25:40 2013 +0200
+++ b/rhodecode/controllers/changelog.py	Tue Jun 25 20:26:16 2013 +0200
@@ -115,7 +115,7 @@
 
         dag = _dagwalker(repo, revs, repo.alias)
         dag = _colored(dag)
-        for (id, type, ctx, vtx, edges) in dag:
+        for (_id, _type, ctx, vtx, edges) in dag:
             data.append(['', vtx, edges])
 
         c.jsdata = json.dumps(data)