Module ImportFrom alias alias alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias Import alias Import alias Import alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr TupleLoad Str Str comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Assign NameStore Dict For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Slice Num Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num If Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr NameLoad orelse If Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpBitAnd Call NameLoad NameLoad Call NameLoad NameLoad For NameStore Call NameLoad NameLoad body Expr Yield BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad For NameStore Call NameLoad BinOpSub Call NameLoad NameLoad NameLoad body Expr Yield BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad For NameStore Call NameLoad BinOpSub Call NameLoad NameLoad NameLoad body Expr Yield BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad body Return Call NameLoad NameLoad orelse Return Call NameLoad Call NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If BoolOpAnd UnaryOpNot NameLoad Call NameLoad AttributeLoad NameLoad attr body Return Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad Return Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body Return Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str orelse Raise decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str With Call NameLoad AttributeLoad NameLoad attr NameStore body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Continue Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr Num Call NameLoad ListLoad orelse If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num attr NameLoad orelse Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Dict Str NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num attr If Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str body Assign SubscriptStore NameLoad Index Num Str Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call NameLoad ListLoad For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr body If UnaryOpNot Call NameLoad NameLoad body Assign NameStore NameLoad orelse For NameStore NameLoad body If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num orelse If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num orelse Raise Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return Call NameLoad ListLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad Return SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore TupleStore NameStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad For NameStore Call NameLoad NameLoad body Expr Call NameLoad BinOpMod Str NameLoad Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For TupleStore NameStore TupleStore NameStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr body Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad ListLoad ListLoad ListLoad ListLoad Assign NameStore Dict Assign NameStore Dict If Call NameLoad NameLoad body For NameStore NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad SubscriptLoad NameLoad Slice Num attr Str Num If Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad orelse If Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore BinOpBitAnd Call NameLoad NameLoad Call NameLoad NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Dict Str Str Call AttributeLoad Str attr BinOpAdd TupleLoad NameLoad NameLoad Call AttributeLoad Str attr BinOpAdd TupleLoad NameLoad NameLoad If CompareGt NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad orelse Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad For NameStore Call NameLoad BinOpSub Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Call AttributeLoad Str attr BinOpAdd TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad For NameStore Call NameLoad BinOpSub Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Call AttributeLoad Str attr BinOpAdd TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad orelse For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot NameLoad body Return If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call NameLoad NameLoad For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call NameLoad NameLoad For NameStore Call NameLoad BinOpSub NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad For NameStore Call NameLoad BinOpSub NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list decorator_list If CompareEq NameLoad Str body ImportFrom alias With Call NameLoad AttributeLoad NameLoad attr NameStore body Expr Call NameLoad Call AttributeLoad NameLoad attr
N/A __future__ print_function division absolute_import N/A os N/A re N/A sys N/A time os.path isdir isfile join N/A warnings N/A errno N/A logging conda install N/A log N/A N/A logging getLogger __name__ CondaHistoryException N/A Exception N/A N/A N/A CondaHistoryWarning N/A Warning N/A N/A N/A write_head N/A N/A fo N/A N/A N/A N/A N/A fo write N/A ==> %s <==
 N/A N/A time strftime %Y-%m-%d %H:%M:%S N/A N/A N/A fo write N/A # cmd: %s
 N/A N/A join N/A sys argv N/A is_diff N/A N/A content N/A N/A N/A N/A any N/A N/A N/A s startswith N/A - + N/A s content N/A pretty_diff N/A N/A diff N/A N/A N/A added N/A N/A removed N/A N/A s diff N/A N/A fn N/A s N/A 1 N/A N/A name version unused_build N/A N/A fn rsplit - 2 N/A N/A N/A s startswith - N/A N/A N/A removed N/A N/A N/A name lower version N/A N/A N/A N/A s startswith + N/A N/A N/A added N/A N/A N/A name lower version N/A changed N/A N/A set added N/A set removed N/A name N/A sorted changed N/A N/A N/A N/A  %s  {%s -> %s} N/A name N/A removed N/A name N/A added N/A name N/A name N/A sorted N/A N/A set removed changed N/A N/A N/A N/A -%s-%s N/A name N/A removed N/A name N/A name N/A sorted N/A N/A set added changed N/A N/A N/A N/A +%s-%s N/A name N/A added N/A name N/A pretty_content N/A N/A content N/A N/A N/A N/A is_diff content N/A N/A N/A pretty_diff content N/A N/A N/A iter N/A sorted content N/A History N/A object N/A __init__ N/A N/A self prefix N/A N/A N/A N/A self prefix prefix N/A N/A self meta_dir N/A join prefix conda-meta N/A N/A self path N/A join N/A self meta_dir history N/A __enter__ N/A N/A self N/A N/A N/A N/A N/A self update N/A self N/A __exit__ N/A N/A self exc_type exc_value traceback N/A N/A N/A N/A N/A self update N/A init_log_file N/A N/A self force N/A False N/A N/A N/A N/A force N/A isfile N/A self path N/A N/A N/A N/A N/A self write_dists N/A N/A install linked N/A self prefix N/A update N/A N/A self N/A N/A N/A 
        update the history file (creating a new one if necessary)
         N/A N/A N/A N/A N/A self init_log_file N/A N/A N/A last N/A N/A self get_state N/A N/A N/A CondaHistoryException N/A e N/A N/A N/A N/A warnings warn N/A Error in %s: %s N/A N/A self path e CondaHistoryWarning N/A N/A curr N/A set N/A N/A install linked N/A self prefix N/A N/A last curr N/A N/A N/A N/A N/A self write_changes last curr N/A N/A N/A IOError N/A e N/A N/A N/A N/A e errno N/A errno EACCES N/A N/A N/A N/A log debug Can't write the history file N/A N/A N/A parse N/A N/A self N/A N/A N/A 
        parse the history file and return a list of
        tuples(datetime strings, set of distributions/diffs, comments)
         N/A res N/A N/A N/A N/A isfile N/A self path N/A N/A res N/A sep_pat N/A N/A re compile ==>\s*(.+?)\s*<== N/A N/A open N/A self path f N/A N/A lines N/A N/A N/A N/A f read splitlines N/A line lines N/A N/A line N/A N/A line strip N/A N/A line N/A N/A N/A m N/A N/A sep_pat match line N/A m N/A N/A N/A N/A res append N/A N/A N/A m group 1 N/A set N/A N/A N/A N/A N/A line startswith # N/A N/A N/A N/A N/A N/A res N/A -1 N/A 2 append line N/A N/A N/A N/A N/A N/A res N/A -1 N/A 1 add line N/A res N/A get_user_requests N/A N/A self N/A N/A N/A 
        return a list of user requested items.  Each item is a dict with the
        following keys:
        'date': the date and time running the command
        'cmd': a list of argv of the actual command which was run
        'action': install/remove/update
        'specs': the specs being used
         N/A res N/A N/A com_pat N/A N/A re compile #\s*cmd:\s*(.+) N/A spec_pat N/A N/A re compile #\s*(\w+)\s*specs:\s*(.+) N/A N/A dt unused_cont comments N/A N/A self parse N/A N/A item N/A date dt N/A line comments N/A N/A m N/A N/A com_pat match line N/A m N/A N/A argv N/A N/A N/A N/A m group 1 split N/A N/A N/A N/A argv N/A 0 endswith conda N/A N/A N/A argv N/A 0 conda N/A N/A item N/A cmd argv N/A m N/A N/A spec_pat match line N/A m N/A N/A N/A action specs N/A N/A m groups N/A N/A item N/A action action N/A N/A item N/A specs N/A eval specs N/A N/A cmd item N/A N/A N/A N/A res append item N/A res N/A construct_states N/A N/A self N/A N/A N/A 
        return a list of tuples(datetime strings, set of distributions)
         N/A res N/A N/A cur N/A set N/A N/A N/A dt cont unused_com N/A N/A self parse N/A N/A N/A N/A is_diff cont N/A N/A cur cont N/A N/A s cont N/A N/A N/A N/A s startswith - N/A N/A N/A N/A cur discard N/A s N/A 1 N/A N/A N/A N/A s startswith + N/A N/A N/A N/A cur add N/A s N/A 1 N/A N/A N/A CondaHistoryException N/A Did not expect: %s s N/A N/A N/A res append N/A dt N/A N/A cur copy N/A res N/A get_state N/A N/A self rev N/A -1 N/A N/A 
        return the state, i.e. the set of distributions, for a given revision,
        defaults to latest (which is the same as the current state when
        the log file is up-to-date)
         N/A states N/A N/A self construct_states N/A N/A states N/A N/A N/A set N/A N/A N/A times pkgs N/A zip states N/A N/A pkgs N/A rev N/A print_log N/A N/A self N/A N/A N/A N/A i N/A date content unused_com N/A enumerate N/A N/A self parse N/A N/A N/A print N/A %s  (rev %d) N/A date i N/A line N/A pretty_content content N/A N/A N/A print N/A     %s line N/A N/A print N/A object_log N/A N/A self N/A N/A N/A result N/A N/A N/A i N/A date content unused_com N/A enumerate N/A N/A self parse N/A N/A event N/A date rev install remove upgrade downgrade date i N/A N/A N/A N/A N/A added N/A N/A removed N/A N/A N/A is_diff content N/A N/A pkg content N/A N/A N/A name version build N/A N/A N/A pkg N/A 1 rsplit - 2 N/A N/A N/A pkg startswith + N/A N/A N/A added N/A N/A N/A name lower N/A version build N/A N/A N/A N/A pkg startswith - N/A N/A N/A removed N/A N/A N/A name lower N/A version build N/A changed N/A N/A set added N/A set removed N/A name N/A sorted changed N/A N/A old N/A removed N/A name N/A new N/A added N/A name N/A details N/A old new N/A N/A - join N/A N/A name old N/A N/A - join N/A N/A name new N/A N/A new old N/A N/A N/A N/A N/A event N/A upgrade append details N/A N/A N/A N/A N/A event N/A downgrade append details N/A name N/A sorted N/A N/A set removed changed N/A N/A N/A N/A N/A event N/A remove append N/A N/A - join N/A N/A name N/A removed N/A name N/A name N/A sorted N/A N/A set added changed N/A N/A N/A N/A N/A event N/A install append N/A N/A - join N/A N/A name N/A added N/A name N/A N/A pkg N/A sorted content N/A N/A N/A N/A N/A event N/A install append pkg N/A N/A N/A result append event N/A result N/A write_dists N/A N/A self dists N/A N/A N/A N/A dists N/A N/A N/A N/A N/A isdir N/A self meta_dir N/A N/A N/A N/A os makedirs N/A self meta_dir N/A N/A open N/A self path w fo N/A N/A N/A write_head fo N/A dist N/A sorted dists N/A N/A N/A N/A fo write N/A %s
 dist N/A write_changes N/A N/A self last_state current_state N/A N/A N/A N/A open N/A self path a fo N/A N/A N/A write_head fo N/A fn N/A sorted N/A last_state current_state N/A N/A N/A N/A fo write N/A -%s
 fn N/A fn N/A sorted N/A current_state last_state N/A N/A N/A N/A fo write N/A +%s
 fn N/A N/A N/A N/A __name__ __main__ N/A pprint pprint N/A N/A History N/A sys prefix h N/A N/A N/A pprint N/A N/A h get_user_requests