diff svnexternals.py @ 286:552deb1351ce

Replace mercurial.util.sort with sorted buildin (after mercurial a1a5a57efe90)
author Martijn Pieters <mj@zopatista.com>
date Mon, 27 Apr 2009 09:39:39 -0500
parents 79349fd04836
children ba8e91a7c077
line wrap: on
line diff
--- a/svnexternals.py
+++ b/svnexternals.py
@@ -24,7 +24,7 @@ class externalsfile(dict):
 
     def write(self):
         fp = cStringIO.StringIO()
-        for target in hgutil.sort(self):
+        for target in sorted(self):
             lines = self[target]
             if not lines:
                 continue