Changeset 3271


Ignore:
Timestamp:
Dec 1, 2010 5:51:23 PM (10 years ago)
Author:
wehart
Message:

Simplifying filter.

The error was really a Python 2.5 portability issue in EF. :(

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.pysp/trunk/coopr/pysp/tests/unit/test_ph.py

    r3267 r3271  
    2727
    2828def filter_time(line):
    29     try:
    30         return "seconds" in line or line.startswith("Data for")
    31     except Exception, err:
    32         raise IOError, "ERROR "+str(type(line))+" "+str(err)
     29    return "seconds" in line or line.startswith("Data for")
    3330
    3431cplex = None
Note: See TracChangeset for help on using the changeset viewer.