Change-Id: Icb51f3fdec962c6f92e27e63b57bc30e8e6c75bb
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
###############################################################################
import copy
-import glob
import io
import six
###############################################################################
-import yaml
-import io
-
from dea import DeploymentEnvironmentAdapter
from configure_environment import ConfigureEnvironment
from deployment import Deployment
from common import (
N,
- E,
exec_cmd,
- run_proc,
- run_proc_wait_terminated,
- run_proc_kill,
parse,
err,
log,
- delete,
)
SEARCH_TEXT = '(err)'
import logging
import argparse
import shutil
-import stat
import errno
import time
import shlex
return parsed if len(parsed_list) == 1 else parsed_list
-def err(message, fun = None, *args):
+def err(message, fun=None, *args):
LOG.error('%s\n' % message)
if fun:
fun(*args)
import collections
import hashlib
-from functools import reduce
-from operator import or_
from common import (
- log,
- exec_cmd,
- err,
- warn,
- check_file_exists,
- create_dir_if_not_exists,
- delete,
- check_if_root,
ArgParser,
)
import re
import sys
import yaml
-import errno
import signal
import netaddr
from common import (
err,
log,
- exec_cmd,
parse,
N,
E,
###############################################################################
-import time
from ipmi_adapter import IpmiAdapter
from common import (
log,
exec_cmd,
- err,
)
from common import (
log,
err,
- clean,
delete,
)