##// END OF EJS Templates
phase: remove a 'for x in "foo bar".split()' idiom in phasecache.replace...
Pierre-Yves David -
r25614:6c48f012 default
parent child Browse files
Show More
@@ -172,7 +172,7 b' class phasecache(object):'
172
172
173 def replace(self, phcache):
173 def replace(self, phcache):
174 """replace all values in 'self' with content of phcache"""
174 """replace all values in 'self' with content of phcache"""
175 for a in 'phaseroots dirty opener _phaserevs _phasesets'.split():
175 for a in ('phaseroots', 'dirty', 'opener', '_phaserevs', '_phasesets'):
176 setattr(self, a, getattr(phcache, a))
176 setattr(self, a, getattr(phcache, a))
177
177
178 def _getphaserevsnative(self, repo):
178 def _getphaserevsnative(self, repo):
General Comments 0
You need to be logged in to leave comments. Login now