changeset 2605:7d9608219362

obsfate: rename 'successorsset' to 'sset' in the loop The old name make it too close to 'successorssets', and the shorter name is not ambiguous in the context anyway.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 16 Jun 2017 12:37:03 +0200
parents 3bcc9d3bac33
children 02129bed002c
files hgext3rd/evolve/templatekw.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/templatekw.py	Fri Jun 16 17:42:28 2017 +0200
+++ b/hgext3rd/evolve/templatekw.py	Fri Jun 16 12:37:03 2017 +0200
@@ -140,8 +140,8 @@
         successorssets = [[]]
 
     values = []
-    for successorset in successorssets:
-        raw = obshistory._preparesuccessorset(successorset, pathcache)
+    for sset in successorssets:
+        raw = obshistory._preparesuccessorset(sset, pathcache)
 
         # As we can't do something like
         # "{join(map(nodeshort, successors), ', '}" in template, manually