Skip to content

Commit

Permalink
Fixing comment/string typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiirola committed Jan 26, 2021
1 parent d0a8277 commit abc2097
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyomo/common/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def format(self, record):

# Split the formatted log message (that currently has _flag in
# lieu of the actual message content) into lines, then
# recombine, subtitiuting and wrapping any lines that contain
# recombine, substituting and wrapping any lines that contain
# _flag.
return '\n'.join(
self._wrap_msg(l, msg) if self._flag in l else l
Expand Down Expand Up @@ -253,7 +253,7 @@ def filter(self, record):

class LogHandler(logging.StreamHandler):
@deprecated('The pyomo.common.log.LogHandler class has been deprecated '
'in favor of standard Handlers from the python logging module '
'in favor of standard Handlers from the Python logging module '
'combined with the pyomo.common.log.WrappingFormatter.',
version='TBD')
def __init__(self, base='', stream=None,
Expand Down

0 comments on commit abc2097

Please sign in to comment.