added log message

pull/173/head
Chris Veilleux 2019-06-03 22:00:07 -05:00
parent f3d3aa5709
commit 67d47ed280
1 changed files with 4 additions and 0 deletions

View File

@ -1,12 +1,16 @@
"""
Logic that uses the Github REST API to extract repository-related metadata
"""
from logging import getLogger
from urllib.request import urlopen
from github import Github
_log = getLogger(__package__)
def log_into_github(user_name: str, user_password: str) -> Github:
_log.info('logging into GitHub as "{}"'.format(user_name))
return Github(user_name, user_password)