Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Dict Str Str Str Str Str Str Assign NameStore Dict Str Str Str Str Str Str Assign NameStore Dict Str Str Str Str Str Str Assign NameStore Dict Str Str Str Str Str Str Str NameLoad Assign NameStore Call NameLoad Call AttributeLoad Str attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad Call AttributeLoad Str attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr keyword Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore IfExp CompareEq AttributeLoad NameLoad attr Str NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad Call NameLoad Assign NameStore AttributeLoad NameLoad attr If NameLoad body For NameStore AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad If BoolOpOr AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse If NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Assign SubscriptStore NameLoad Index Num Str Assign NameStore Call AttributeLoad Str attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad decorator_list decorator_list
N/A N/A sys os getcwd argparse ArgumentParser textwrap dedent git Repo InvalidGitRepositoryError gitsweep.inspector Inspector gitsweep.deleter Deleter CommandLine N/A object N/A N/A 
    Main interface to the command-line for running git-sweep.

     N/A parser N/A ArgumentParser description Clean up your Git remote branches. usage git-sweep <action> [-h] N/A _sub_parsers N/A N/A parser add_subparsers title action description Preview changes or perform clean up N/A _origin_kwargs N/A help dest default The name of the remote you wish to clean up origin origin N/A _master_kwargs N/A help dest default The name of what you consider the master branch master master N/A _skip_kwargs N/A help dest default Comma-separated list of branches to skip skips N/A _no_fetch_kwargs N/A help dest action default Do not fetch from the remote fetch store_false True N/A _preview_usage N/A dedent N/A N/A 
        git-sweep preview [-h] [--nofetch] [--skip SKIPS]
                              [--master MASTER] [--origin ORIGIN]
         strip N/A _preview N/A N/A _sub_parsers add_parser preview help Preview the branches that will be deleted usage _preview_usage N/A N/A N/A _preview add_argument --origin _origin_kwargs N/A N/A N/A _preview add_argument --master _master_kwargs N/A N/A N/A _preview add_argument --nofetch _no_fetch_kwargs N/A N/A N/A _preview add_argument --skip _skip_kwargs N/A N/A N/A _preview set_defaults action preview N/A _cleanup_usage N/A dedent N/A N/A 
        git-sweep cleanup [-h] [--nofetch] [--skip SKIPS] [--force]
                              [--master MASTER] [--origin ORIGIN]
         strip N/A _cleanup N/A N/A _sub_parsers add_parser cleanup help Delete merged branches from the remote usage _cleanup_usage N/A N/A N/A _cleanup add_argument --force action store_true default False dest force help Do not ask, cleanup immediately N/A N/A N/A _cleanup add_argument --origin _origin_kwargs N/A N/A N/A _cleanup add_argument --master _master_kwargs N/A N/A N/A _cleanup add_argument --nofetch _no_fetch_kwargs N/A N/A N/A _cleanup add_argument --skip _skip_kwargs N/A N/A N/A _cleanup set_defaults action cleanup __init__ N/A N/A self args N/A N/A N/A N/A self args N/A args N/A 1 N/A run N/A N/A self N/A N/A N/A 
        Runs git-sweep.
         N/A N/A N/A N/A N/A self args N/A N/A N/A N/A N/A self parser print_help N/A N/A N/A sys exit 1 N/A N/A N/A self _sweep N/A N/A N/A sys exit 0 N/A N/A N/A InvalidGitRepositoryError N/A N/A N/A N/A N/A sys stdout write This is not a Git repository
 N/A N/A Exception N/A e N/A N/A N/A N/A N/A sys stdout write N/A N/A str e N/A N/A N/A sys exit 1 N/A _sweep N/A N/A self N/A N/A N/A 
        Runs git-sweep.
         N/A args N/A N/A N/A self parser parse_args N/A self args N/A dry_run N/A N/A N/A args action preview True False N/A fetch N/A args fetch N/A skips N/A N/A N/A i strip N/A i N/A N/A N/A args skips split , N/A repo N/A Repo N/A getcwd N/A remote_name N/A args origin N/A fetch N/A N/A remote N/A repo remotes N/A N/A N/A N/A remote name remote_name N/A N/A N/A N/A N/A sys stdout write Fetching from the remote
 N/A N/A N/A remote fetch N/A master_branch N/A args master N/A inspector N/A Inspector repo remote_name remote_name master_branch master_branch N/A ok_to_delete N/A N/A inspector merged_refs skip skips N/A ok_to_delete N/A N/A N/A N/A N/A sys stdout write N/A N/A These branches have been merged into {0}:

 format master_branch N/A N/A N/A N/A N/A sys stdout write No remote branches are available for cleaning up
 N/A ref ok_to_delete N/A N/A N/A N/A N/A sys stdout write N/A N/A   {0}
 format N/A ref remote_head N/A N/A dry_run N/A N/A deleter N/A Deleter repo remote_name remote_name master_branch master_branch N/A N/A N/A args force N/A N/A N/A N/A N/A sys stdout write 
Delete these branches? (y/n)  N/A answer N/A raw_input N/A N/A N/A args force N/A N/A N/A N/A answer lower startswith y N/A N/A N/A N/A N/A sys stdout write N/A ref ok_to_delete N/A N/A N/A N/A N/A sys stdout write N/A N/A   deleting {0} format N/A ref remote_head N/A N/A N/A deleter remove_remote_refs N/A ref N/A N/A N/A N/A sys stdout write  (done)
 N/A N/A N/A N/A sys stdout write 
All done!
 N/A N/A N/A N/A sys stdout write 
Tell everyone to run `git fetch --prune` to sync with this remote.
 N/A N/A N/A N/A sys stdout write (you don't have to, yours is synced)
 N/A N/A N/A N/A N/A sys stdout write 
OK, aborting.
 N/A N/A ok_to_delete N/A N/A sysv_copy N/A N/A self args N/A N/A N/A sysv_copy N/A 0 cleanup N/A command N/A N/A git-sweep {0} format N/A N/A join sysv_copy N/A N/A N/A N/A sys stdout write N/A N/A 
To delete them, run again with `{0}`
 format command N/A N/A