Module ImportFrom alias alias alias alias alias alias alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Call AttributeLoad Call AttributeLoad NameLoad attr Num attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr If CompareIn Str NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad For TupleStore NameStore NameStore NameLoad body If CompareIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad TryExcept body With Call NameLoad AttributeLoad NameLoad attr Str NameStore body For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad handlers ExceptHandler type NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr Str NameLoad body Raise decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad If NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore BoolOpOr AttributeLoad NameLoad attr NameLoad orelse Assign TupleStore NameStore NameStore TupleLoad Str Str Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list decorator_list
N/A __future__ absolute_import division generators nested_scopes print_function unicode_literals with_statement N/A getpass N/A os N/A re N/A socket N/A time pants version pants.base.build_environment get_buildroot get_scm pants.util.dirutil safe_mkdir_for RunInfo N/A object N/A N/A A little plaintext file containing very basic info about a pants run.

  Can only be appended to, never edited.
   __init__ N/A N/A self info_file N/A N/A N/A N/A self _info_file info_file N/A N/A safe_mkdir_for N/A self _info_file N/A N/A self _info N/A N/A N/A N/A N/A os path exists N/A self _info_file N/A N/A N/A open N/A self _info_file r infile N/A N/A info N/A N/A infile read N/A m N/A N/A re finditer ^([^:]+):(.*)$ info N/A re MULTILINE N/A N/A N/A N/A self _info N/A N/A N/A N/A N/A m group 1 strip N/A N/A N/A N/A m group 2 strip N/A path N/A N/A self N/A N/A N/A N/A self _info_file N/A get_info N/A N/A self key N/A N/A N/A N/A N/A N/A self _info get key None N/A __getitem__ N/A N/A self key N/A N/A N/A ret N/A N/A self get_info key N/A N/A ret None N/A N/A N/A KeyError key N/A ret N/A get_as_dict N/A N/A self N/A N/A N/A N/A N/A N/A self _info copy N/A add_info N/A N/A self key val ignore_errors N/A False N/A N/A Adds the given info and returns a dict composed of just this added info. N/A N/A N/A self add_infos N/A key val ignore_errors ignore_errors N/A add_infos N/A N/A self N/A keyvals kwargs N/A N/A Adds the given info and returns a dict composed of just this added info. N/A infos N/A dict keyvals N/A kv_pairs N/A N/A N/A key val N/A N/A infos items N/A N/A key N/A N/A key strip N/A val N/A N/A N/A str val strip N/A N/A : key N/A N/A N/A ValueError N/A N/A info key "{}" must not contain a colon. format key N/A N/A N/A kv_pairs append N/A key val N/A N/A k v kv_pairs N/A N/A N/A k N/A self _info N/A N/A N/A ValueError N/A N/A info key "{}" already exists with value {}. Cannot add it again with value {}. format k N/A N/A self _info N/A k v N/A N/A N/A self _info N/A k v N/A N/A N/A N/A open N/A self _info_file a outfile N/A N/A N/A k v kv_pairs N/A N/A N/A N/A outfile write N/A N/A {}: {}
 format k v N/A N/A N/A IOError N/A N/A N/A N/A N/A kwargs get ignore_errors False N/A N/A N/A add_basic_info N/A N/A self run_id timestamp N/A N/A N/A Adds basic build info. N/A datetime N/A N/A time strftime %A %b %d, %Y %H:%M:%S N/A N/A time localtime timestamp N/A user N/A N/A getpass getuser N/A machine N/A N/A socket gethostname N/A buildroot N/A get_buildroot N/A N/A N/A self add_infos N/A id run_id N/A timestamp timestamp N/A datetime datetime N/A user user N/A machine machine N/A path buildroot N/A buildroot buildroot N/A version N/A version VERSION N/A add_scm_info N/A N/A self N/A N/A N/A Adds SCM-related info. N/A scm N/A get_scm N/A scm N/A N/A revision N/A scm commit_id N/A branch N/A N/A scm branch_name revision N/A N/A N/A revision branch N/A none none N/A N/A N/A self add_infos N/A revision revision N/A branch branch N/A N/A