hgext/mq.py
changeset 14594 3752b5e1f4c4
parent 14593 599a72895c0d
child 14595 f2c9d4091e0e
--- a/hgext/mq.py	Mon Jun 13 13:45:48 2011 +0200
+++ b/hgext/mq.py	Mon Jun 13 13:47:21 2011 +0200
@@ -490,17 +490,17 @@
                           self.series[idx])
 
     def savedirty(self):
-        def write_list(items, path):
+        def writelist(items, path):
             fp = self.opener(path, 'w')
             for i in items:
                 fp.write("%s\n" % i)
             fp.close()
         if self.applieddirty:
-            write_list(map(str, self.applied), self.statuspath)
+            writelist(map(str, self.applied), self.statuspath)
         if self.seriesdirty:
-            write_list(self.fullseries, self.seriespath)
+            writelist(self.fullseries, self.seriespath)
         if self.guardsdirty:
-            write_list(self.activeguards, self.guardspath)
+            writelist(self.activeguards, self.guardspath)
         if self.added:
             qrepo = self.qrepo()
             if qrepo: