changeset 1148:301575ccf95f

added set import for py 2.3 compatibility
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Wed, 09 Aug 2006 21:26:35 +0200
parents db56bd53fc32
children 9c7cc9ba84c5
files MoinMoin/request/__init__.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/request/__init__.py	Mon Aug 07 00:26:01 2006 +0200
+++ b/MoinMoin/request/__init__.py	Wed Aug 09 21:26:35 2006 +0200
@@ -9,6 +9,12 @@
 
 import os, re, time, sys, cgi, StringIO
 import copy
+
+try:
+    set
+except:
+    from sets import Set as set
+
 from MoinMoin import config, wikiutil, user, caching, error
 from MoinMoin.util import IsWin9x