head	1.2;
access;
symbols
	RELEASE_4_11_0:1.1
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2005.02.18.23.44.46;	author kris;	state dead;
branches;
next	1.1;

1.1
date	2003.11.19.09.36.42;	author perky;	state Exp;
branches;
next	;


desc
@@


1.2
log
@As previously announced, remove ports that have reached their expiry date,
and the handful of ports that depended on them.
@
text
@--- grailbase/app.py.orig	Wed Mar 24 23:11:52 1999
+++ grailbase/app.py	Mon Mar 24 10:48:37 2003
@@@@ -3,10 +3,10 @@@@
 
 import os
 import mimetypes
-import regex
+import re
 import string
 import utils
-
+regex = re
 
 class Application:
     def __init__(self, prefs=None):
@@@@ -51,7 +51,7 @@@@
 
 
     __data_scheme_re = regex.compile(
-        "data:\([^,;]*\)\(;\([^,]*\)\|\),", regex.casefold)
+        "data:\([^,;]*\)\(;\([^,]*\)\|\),")
 
     def guess_type(self, url):
         """Guess the type of a file based on its URL.
@


1.1
log
@Port to Python 2.x (up to 2.2 yet)

PR:		50230
Submitted by:	thinker@@branda.to
@
text
@@

