mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
layerindex: Changes to work with Python3
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
This commit is contained in:
parent
b274a65f65
commit
bdf276a0fb
|
@ -8,11 +8,12 @@
|
|||
import sys
|
||||
import os
|
||||
import os.path
|
||||
import utils
|
||||
import tempfile
|
||||
import re
|
||||
import fnmatch
|
||||
|
||||
from layerindex import utils
|
||||
|
||||
class RecipeParseError(Exception):
|
||||
def __init__(self, msg):
|
||||
self.msg = msg
|
||||
|
|
|
@ -15,7 +15,7 @@ import logging
|
|||
import subprocess
|
||||
import signal
|
||||
from distutils.version import LooseVersion
|
||||
import utils
|
||||
from layerindex import utils
|
||||
|
||||
import warnings
|
||||
warnings.filterwarnings("ignore", category=DeprecationWarning)
|
||||
|
|
|
@ -18,8 +18,8 @@ import tempfile
|
|||
import shutil
|
||||
from distutils.version import LooseVersion
|
||||
import itertools
|
||||
import utils
|
||||
import recipeparse
|
||||
from layerindex import utils
|
||||
from layerindex import recipeparse
|
||||
|
||||
import warnings
|
||||
warnings.filterwarnings("ignore", category=DeprecationWarning)
|
||||
|
|
|
@ -48,7 +48,7 @@ def runcmd(cmd, destdir=None, printerr=True, logger=None):
|
|||
raise e
|
||||
|
||||
out.seek(0)
|
||||
output = out.read()
|
||||
output = out.read().decode("utf-8")
|
||||
#logger.debug("output: %s" % output.rstrip() )
|
||||
return output
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user