[Mumps2Py:] [162] look for a new identifier string in parse_for_routines.

[ Thread Index | Date Index | More lists.mumps2py.org/discuss Archives ]


Revision: 162
Author:   pgallot
Date:     2008-03-10 13:49:11 +0000 (Mon, 10 Mar 2008)

Log Message:
-----------
look for a new identifier string in parse_for_routines.

Modified Paths:
--------------
    trunk/mumps2py/mumps_module.py


Modified: trunk/mumps2py/mumps_module.py
===================================================================
--- trunk/mumps2py/mumps_module.py	2008-03-08 20:31:45 UTC (rev 161)
+++ trunk/mumps2py/mumps_module.py	2008-03-10 13:49:11 UTC (rev 162)
@@ -187,7 +187,8 @@
 
     if re.search(r"CACHE FORMAT\^~Format=Cache.S~", headerline):
         return parse_cache_routines(inputfile, outputdir)
-    elif re.search(r"VistA FOIA Routines", headerline):
+    elif re.search(r"VistA FOIA Routines", headerline) or \
+         re.search(r"//UNIX-CACHE//1.104////BIT7", headerline):
         return parse_astextroutines(inputfile, outputdir)
     else:
         outputname, extension = os.path.splitext(inputfile)


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/