зеркало из https://github.com/mozilla/bugbug.git
Remove unused cache_root property from commit retriever and microannotate generator scripts
This commit is contained in:
Родитель
592c9de1c6
Коммит
db0ecdde12
|
@ -13,8 +13,6 @@ logger = getLogger(__name__)
|
|||
|
||||
class Retriever(object):
|
||||
def __init__(self, cache_root):
|
||||
self.cache_root = cache_root
|
||||
|
||||
assert os.path.isdir(cache_root), f"Cache root {cache_root} is not a dir."
|
||||
self.repo_dir = os.path.join(cache_root, "mozilla-central")
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ COMMITS_STEP = 5000
|
|||
|
||||
class MicroannotateGenerator(object):
|
||||
def __init__(self, cache_root, repo_url, tokenize, remove_comments):
|
||||
self.cache_root = cache_root
|
||||
self.repo_url = repo_url
|
||||
self.git_repo_path = os.path.basename(self.repo_url)
|
||||
self.tokenize = tokenize
|
||||
|
|
Загрузка…
Ссылка в новой задаче