File: //lib/python2.7/site-packages/leapp/cli/commands/upgrade/breadcrumbs.pyo
�
��ic @ s� d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l
m Z d d l m
Z
y d d l m Z Wn e k
r� e Z n Xd � Z d � Z d
e f d � � YZ d � Z d S(
i����N( t wraps( t chain( t FULL_VERSION( t _call( t get_messages( t JSONDecodeErrorc C s t j j d � S( s�
Check if the current process is running inside a container
:return: True if the process is running inside a container, False otherwise
s /run/host/container-manager( t ost patht exists( ( ( sJ /usr/lib/python2.7/site-packages/leapp/cli/commands/upgrade/breadcrumbs.pyt runs_in_container s c sT � f d � � g | j � D]( \ } } � | | � D] } | ^ q5 q } t | � S( s3 Flatten nested dicts and lists into a single dict c s� t | t � rF g t | � j � D] \ } } | d | | f ^ q"