obsfate: rename 'successorsset' to 'sset' in the loop
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 16 Jun 2017 12:37:03 +0200
changeset 2605 7d9608219362
parent 2604 3bcc9d3bac33
child 2606 02129bed002c
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.
hgext3rd/evolve/templatekw.py
--- 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