Module Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Num body Expr Str Assign NameStore NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad If CompareNotEq NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call AttributeLoad NameLoad attr Str body Return SubscriptLoad NameLoad Slice Num Return NameLoad decorator_list
N/A N/A logging N/A os N/A subprocess N/A LOG N/A N/A logging getLogger __name__ execute N/A N/A command cwd exit N/A None 0 N/A N/A 
    Executes a command in a subprocess.  Returns a tuple of
    (exitcode, out, err).

    :param command: Command string to execute.
    :param cwd: Directory to execute from.
    :param exit: The expected exit code.
     N/A original_dir None N/A cwd N/A N/A original_dir N/A N/A os getcwd N/A N/A N/A os chdir cwd N/A N/A N/A LOG debug Changed directory to %s cwd N/A N/A N/A LOG info Running: '%s' command N/A process N/A N/A subprocess Popen command cwd N/A N/A os getcwd stdin N/A subprocess PIPE stdout N/A subprocess PIPE stderr N/A subprocess PIPE shell True N/A N/A out err N/A N/A process communicate N/A exitcode N/A N/A process wait N/A N/A N/A LOG debug N/A Command exited with rc: %s; STDOUT: %s; STDERR: %s N/A exitcode out err N/A cwd N/A N/A N/A N/A os chdir original_dir N/A N/A N/A LOG debug Changed directory back to %s original_dir N/A N/A exitcode exit N/A N/A N/A Exception N/A Failed to run '%s': rc: %d, out: '%s', err: '%s' N/A command exitcode out err N/A out N/A relative_pathify N/A N/A path N/A N/A N/A N/A N/A path startswith / N/A N/A N/A path N/A 1 N/A path N/A