Skip to content

Commit

Permalink
Remove Py2.x logging compatibility code
Browse files Browse the repository at this point in the history
  • Loading branch information
kinow committed May 1, 2019
1 parent 7c9e2ed commit cc6ed7d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/cylc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@


LOG = logging.getLogger('cylc') # Acceptable?
if hasattr(logging, 'NullHandler'): # Back compat Python <2.7
LOG.addHandler(logging.NullHandler()) # Start with a null handler
LOG.addHandler(logging.NullHandler()) # Start with a null handler


def environ_init():
Expand Down

0 comments on commit cc6ed7d

Please sign in to comment.