Changeset 2928


Ignore:
Timestamp:
Aug 14, 2010 4:33:27 PM (9 years ago)
Author:
wehart
Message:

Return a Container instance rather than None when an error
occurred while setting up the environment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.pyomo/trunk/coopr/pyomo/scripting/pyomo.py

    r2882 r2928  
    258258        return Container()
    259259    if not util.setup_environment(options, args):
    260         return                                               #pragma:nocover
     260        return Container()                                   #pragma:nocover
    261261    if not util.apply_preprocessing(options, parser, args):
    262262        return Container()                                   #pragma:nocover
Note: See TracChangeset for help on using the changeset viewer.