Module Import alias ImportFrom alias Import alias Import alias ImportFrom alias alias alias alias alias alias ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body If CompareIs NameLoad NameLoad body Raise Call NameLoad Str With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If CompareNotEq NameLoad SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad SubscriptLoad NameLoad Index Str Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIn Str NameLoad body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr If CompareIn Str NameLoad body Assign NameStore Call NameLoad NameLoad If UnaryOpNot CompareEq NameLoad SubscriptLoad NameLoad Index Str body Raise Call NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str orelse Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryFinally body TryExcept body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign NameStore Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Raise finalbody Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Str If UnaryOpNot CompareEq Call NameLoad NameLoad NameLoad body If CompareIn Str NameLoad body Assign NameStore NameLoad If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str With Call NameLoad SubscriptLoad NameLoad Index Str keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad body If UnaryOpNot CompareEq Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str orelse Raise Call NameLoad Str orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign NameStore NameLoad If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str With Call NameLoad SubscriptLoad NameLoad Index Str keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad body If UnaryOpNot CompareEq Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str orelse Raise Call NameLoad Str orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign NameStore NameLoad If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str With Call NameLoad SubscriptLoad NameLoad Index Str keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad body If UnaryOpNot CompareEq Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str orelse Raise Call NameLoad Str orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str Raise Call NameLoad Str orelse Raise Call NameLoad BinOpMod Str NameLoad decorator_list decorator_list
N/A N/A os os path N/A shutil N/A tempfile combine sha1 Manifest Package File URI log Update N/A N/A __init__ N/A N/A self currentver manifest manifesturi N/A None None N/A N/A 
        Fetch a manifest and verify that it matches the given version.
         N/A N/A manifest None N/A N/A N/A manifesturi None N/A N/A N/A Exception Update not given manifest object or URI N/A N/A URI manifesturi uri N/A N/A manifest N/A N/A Manifest from_yaml N/A N/A uri read N/A N/A currentver N/A manifest N/A current-version N/A N/A N/A N/A log error N/A N/A Current version '{0}' does not match manifest '{1}' format currentver N/A manifest N/A current-version N/A N/A Exception Current version does not match manifest N/A N/A self manifest manifest N/A N/A self package None N/A apply N/A N/A self installpath backuppath N/A None N/A N/A 
        Apply the manifest against the given installation path.
         N/A N/A self installpath installpath N/A manifest N/A self manifest N/A N/A package-uri manifest N/A N/A packageuri N/A URI N/A manifest N/A package-uri N/A packagename N/A N/A path basename N/A packageuri N/A path N/A packagepath N/A N/A path join N/A N/A tempfile gettempdir packagename N/A packageformat None N/A N/A package-format manifest N/A N/A packageformat N/A manifest N/A package-format N/A N/A N/A log info N/A N/A Fetching update package from {0} format N/A packageuri uri N/A N/A N/A packageuri fetch packagepath N/A N/A N/A packageuri close N/A N/A package-sha1 manifest N/A N/A packagesha1 N/A sha1 packagepath N/A N/A N/A packagesha1 N/A manifest N/A package-sha1 N/A N/A N/A Exception Package integrity check failed N/A N/A self package N/A Package packagepath packageformat N/A N/A backuppath None N/A N/A N/A self backuppath N/A N/A tempfile mkdtemp prefix update_ N/A N/A N/A self backuppath backuppath N/A N/A N/A N/A path isdir N/A self backuppath N/A N/A N/A N/A log debug N/A N/A Backup path {0} does not exist; creating format N/A self backuppath N/A N/A N/A os mkdir N/A self backuppath N/A N/A N/A N/A N/A info N/A manifest actions N/A N/A N/A N/A self _action info N/A N/A N/A Exception N/A err N/A N/A N/A N/A log exception Exception eaten; beginning rollback N/A N/A root dirs files N/A N/A os walk N/A self backuppath N/A N/A relpath N/A N/A path relpath root N/A self backuppath N/A N/A relpath . N/A N/A relpath N/A filename files N/A N/A filepath N/A N/A path join relpath filename N/A N/A N/A log info N/A Rolling back file %s filepath N/A N/A N/A self _restore filepath N/A N/A N/A log info Rollback completed; raising exception N/A N/A N/A N/A self cleanup False N/A N/A N/A shutil rmtree N/A self backuppath onerror N/A self _onerror N/A N/A N/A N/A self package close N/A N/A N/A os remove packagepath N/A N/A self cleanup N/A N/A N/A self backuppath N/A _onerror N/A N/A self func filepath error N/A N/A N/A N/A self cleanup True N/A _backup N/A N/A self filename move N/A True N/A N/A ipath N/A N/A path normpath N/A N/A path join N/A self installpath filename N/A bpath N/A N/A path normpath N/A N/A path join N/A self backuppath filename N/A N/A N/A N/A path isfile ipath N/A N/A N/A bdir N/A N/A path dirname bpath N/A N/A N/A N/A path isdir bdir N/A N/A N/A N/A os makedirs bdir N/A N/A N/A move N/A N/A N/A N/A log debug N/A N/A Backing up file {0} by moving to backup directory format filename N/A N/A N/A shutil move ipath bpath N/A N/A N/A N/A log debug N/A N/A Backing up file {0} by copying to backup directory format filename N/A N/A N/A shutil copy ipath bpath N/A N/A N/A N/A N/A N/A log debug N/A N/A Backup failed for {0} format filename N/A _restore N/A N/A self filename N/A N/A N/A ipath N/A N/A path normpath N/A N/A path join N/A self installpath filename N/A bpath N/A N/A path normpath N/A N/A path join N/A self backuppath filename N/A idir N/A N/A path dirname ipath N/A N/A N/A N/A path isdir idir N/A N/A N/A N/A os makedirs idir N/A N/A N/A N/A N/A path isfile ipath N/A N/A N/A N/A log debug N/A N/A Removing file {0} before restoring old version format filename N/A N/A N/A os remove ipath N/A N/A N/A log debug N/A N/A Restoring file {0} by moving from backup directory format filename N/A N/A N/A shutil move bpath ipath N/A N/A N/A N/A N/A N/A log debug N/A N/A Restore failed for {0} format filename N/A _action N/A N/A self info N/A N/A N/A action N/A info N/A action N/A filename N/A info N/A filename N/A fullpath N/A N/A path join N/A self installpath filename N/A N/A action verify N/A N/A N/A N/A log info N/A N/A Action: verify {0} format filename N/A hash N/A info N/A sha1-before N/A N/A N/A N/A sha1 fullpath hash N/A N/A N/A full-uri info N/A N/A fullformat None N/A N/A full-format info N/A N/A fullformat N/A info N/A full-format N/A N/A N/A self _backup filename N/A N/A N/A log info N/A N/A Extract replacement file from {0} format N/A info N/A full-uri N/A N/A URI N/A info N/A full-uri package N/A self package format fullformat target fullpath N/A N/A N/A N/A N/A sha1 fullpath hash N/A N/A N/A Exception Integrity check and repair failed N/A N/A N/A Exception Integrity check failed with no repair N/A N/A N/A action create N/A N/A N/A N/A log info N/A N/A Action: create {0} format filename N/A hash N/A info N/A sha1-after N/A N/A full-uri info N/A N/A fullformat None N/A N/A full-format info N/A N/A fullformat N/A info N/A full-format N/A N/A N/A log info N/A N/A Extract new file from {0} format N/A info N/A full-uri N/A N/A URI N/A info N/A full-uri package N/A self package format fullformat target fullpath N/A N/A N/A N/A N/A sha1 fullpath hash N/A N/A N/A Exception Created file failed integrity check N/A N/A N/A Exception Create action has no URI N/A N/A N/A action replace N/A N/A N/A N/A log info N/A N/A Action: replace {0} format filename N/A hash N/A info N/A sha1-after N/A N/A full-uri info N/A N/A fullformat None N/A N/A full-format info N/A N/A fullformat N/A info N/A full-format N/A N/A N/A self _backup filename N/A N/A N/A log info N/A N/A Extract replacement file from {0} format N/A info N/A full-uri N/A N/A URI N/A info N/A full-uri package N/A self package format fullformat target fullpath N/A N/A N/A N/A N/A sha1 fullpath hash N/A N/A N/A Exception Replacement file failed integrity check N/A N/A N/A Exception Replacement action has no URI N/A N/A N/A action delete N/A N/A N/A N/A log info N/A N/A Action: delete {0} format filename N/A N/A N/A self _backup filename N/A N/A N/A action exception N/A N/A N/A N/A log warning Action: exception N/A N/A Exception Intentional exception raised N/A N/A N/A Exception N/A Unsupported action %s action N/A N/A