Do not automatically use gbp-specific logging. Thus, let the user of
this module to setup logging.
Change-Id: I66479acefe1f6b26f75fce0288afa80132dbfbda
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
# MA 02110-1301, USA.
"""Git repository cache"""
+import logging
import os
import hashlib
import shutil
import fcntl
import re
-import gbp.log as gbplog
from gbp.git.repository import GitRepository, GitRepositoryError
# Setup logging
-LOGGER = gbplog.getLogger('gbp-repocache')
-LOGGER.setLevel(gbplog.INFO)
+LOGGER = logging.getLogger('gbp-repocache')
+LOGGER.setLevel(logging.INFO)
class MirrorGitRepository(GitRepository): # pylint: disable=R0904