chiark / gitweb /
python: Replace sre by plain re.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 8 Dec 2008 02:22:23 +0000 (02:22 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 8 Dec 2008 02:22:23 +0000 (02:22 +0000)
Annoyingly, Python 2.4 documentation suggests that sre is the right
module to use.

keys/tripe-keys.in
mon/tripemon.in

index 1e56282b8c412ce34f609f6766b44fd550482c19..3ca2834b73e12a82bc08f7dd798b328e266fc894 100644 (file)
@@ -30,7 +30,7 @@
 import catacomb as C
 import os as OS
 import sys as SYS
-import sre as RX
+import re as RX
 import getopt as O
 import shutil as SH
 import filecmp as FC
index 912f7d0b52790437fb85a3b13be0735ce2310051..c71644aa685152f0bb8d100714da7eac221967f1 100644 (file)
@@ -11,7 +11,7 @@ import math as M
 import sets as SET
 import getopt as O
 import time as T
-import sre as RX
+import re as RX
 from cStringIO import StringIO
 
 import pygtk