Skip to content

Commit

Permalink
Replaced logger main with name and moved out
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaume Florez committed Nov 11, 2016
1 parent fedbb04 commit 768422e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hookshub/listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
import shutil
import logging

logger = logging.getLogger(__name__)


class TempDir(object):
def __init__(self):
Expand Down Expand Up @@ -39,7 +41,6 @@ def instancer(payload):
return github(payload)

def run_event_actions(self, config_file):
logger = logging.getLogger('__main__')
def_conf = {}

with open(config_file, 'r') as config:
Expand Down

0 comments on commit 768422e

Please sign in to comment.