Changeset 2632


Ignore:
Timestamp:
May 24, 2010 12:17:30 PM (11 years ago)
Author:
jwatson
Message:

Fixed issue with CBC plugin generating voluminous (to put it nicely) output by default. If debug is enabled, we now set the log level to 5 (high). Otherwise, it stays at its default level of 1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.plugins/trunk/coopr/plugins/mip/CBCplugin.py

    r2631 r2632  
    146146                timing = ""
    147147            if "debug" in self.options:
    148                 opt = ""
    149             else:
    150148                opt = " log=5"
     149            else:
     150                opt = ""               
    151151            for key in self.options:
    152152                if isinstance(self.options[key],basestring) and ' ' in self.options[key]:
     
    162162                timing = ""
    163163            if "debug" in self.options:
    164                 opt = ""
    165             else:
    166                 opt = " -log 5"
     164                opt = " -log 5"               
     165            else:
     166                opt = ""               
    167167            for key in self.options:
    168168                if isinstance(self.options[key],basestring) and ' ' in self.options[key]:
Note: See TracChangeset for help on using the changeset viewer.