diff hgext/win32text.py @ 8150:bbc24c0753a0

util: use built-in set and frozenset This drops Python 2.3 compatibility.
author Martin Geisler <mg@lazybytes.net>
date Wed, 22 Apr 2009 00:55:32 +0200
parents 441dc7becd43
children e553fe565c61
line wrap: on
line diff
--- a/hgext/win32text.py	Fri Apr 24 10:43:12 2009 +0200
+++ b/hgext/win32text.py	Wed Apr 22 00:55:32 2009 +0200
@@ -99,7 +99,7 @@
 
 def forbidnewline(ui, repo, hooktype, node, newline, **kwargs):
     halt = False
-    seen = util.set()
+    seen = set()
     # we try to walk changesets in reverse order from newest to
     # oldest, so that if we see a file multiple times, we take the
     # newest version as canonical. this prevents us from blocking a