More probing, unify python code.
This commit is contained in:
parent
b15dbe7c02
commit
703d1cda94
4 changed files with 87 additions and 97 deletions
|
@ -17,8 +17,7 @@
|
|||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
import logging
|
||||
import re
|
||||
from typing import List, Optional, Set
|
||||
from typing import List, Optional
|
||||
|
||||
import os
|
||||
from buildlog_consultant.apt import (
|
||||
|
|
|
@ -145,7 +145,7 @@ def load_apt_cache_file(url, cache_dir):
|
|||
p = os.path.join(cache_dir, fn + ext)
|
||||
if not os.path.exists(p):
|
||||
continue
|
||||
#return os.popen('/usr/lib/apt/apt-helper cat-file %s' % p)
|
||||
# return os.popen('/usr/lib/apt/apt-helper cat-file %s' % p)
|
||||
logging.debug("Loading cached contents file %s", p)
|
||||
if ext == '.lz4':
|
||||
import lz4.frame
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue