[Mumps2Py:] [81] small change to catch files created by extracting from vista.rtn

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


Revision: 81
Author:   pgallot
Date:     2008-02-04 23:26:50 +0000 (Mon, 04 Feb 2008)

Log Message:
-----------
small change to catch files created by extracting from vista.rtn

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


Modified: trunk/mumps2py/mumps_module.py
===================================================================
--- trunk/mumps2py/mumps_module.py	2008-02-04 05:16:42 UTC (rev 80)
+++ trunk/mumps2py/mumps_module.py	2008-02-04 23:26:50 UTC (rev 81)
@@ -197,7 +197,7 @@
 
     if re.search(r"CACHE FORMAT\^~Format=Cache.S~", headerline):
         return parse_cache_routines(inputfile, outputdir)
-    elif re.match(r"VistA FOIA Routines", headerline):
+    elif re.search(r"VistA FOIA Routines", headerline):
         return parse_astextroutines(inputfile, outputdir)
     else:
         outputname, extension = os.path.splitext(inputfile)


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