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 2a40536
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/cylc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@


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


def environ_init():
Expand Down

0 comments on commit 2a40536

Please sign in to comment.