Module ImportFrom alias Import alias Import alias Import alias Import alias ImportFrom alias Import alias Import alias Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr TupleLoad NameLoad AttributeLoad NameLoad attr TupleLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num SubscriptLoad NameLoad Index SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn SubscriptLoad NameLoad Index Num Str body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body If BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Pass orelse Raise decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore BinOpAdd AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad handlers ExceptHandler type NameLoad name NameStore body If BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Pass orelse Raise Import alias Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args defaults vararg kwarg body TryExcept body Return Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore NameLoad If SubscriptLoad NameLoad Index Num body Assign NameStore SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd Str Str Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num If CompareEq SubscriptLoad NameLoad Index Num Str body TryExcept body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body With Call NameLoad NameLoad keyword Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Call NameLoad NameLoad Call NameLoad Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return SubscriptLoad NameLoad Index Num decorator_list Return NameLoad decorator_list decorator_list
N/A yas3fs.YAS3FSPlugin YAS3FSPlugin N/A json N/A os N/A re N/A errno stat * N/A datetime N/A time N/A 
Upon upload failure
- a log entry is written w/ metadata
- the cache file is mirrored into a recovery directory ajacent to the cache directory
 RecoverYas3fsPlugin N/A YAS3FSPlugin N/A epochseconds_to_iso8601 N/A N/A self s N/A None N/A N/A t None N/A N/A s None N/A N/A dt N/A N/A N/A datetime datetime now N/A N/A dt N/A N/A N/A datetime datetime utcfromtimestamp s N/A dt N/A N/A dt replace microsecond 0 N/A rt N/A N/A dt isoformat N/A rt N/A stat_to_dict N/A N/A self stat N/A N/A N/A fn_map N/A st_mode st_ino st_dev st_nlink st_uid st_gid st_size st_atime st_mtime st_ctime N/A ST_MODE str N/A ST_INO str N/A ST_DEV str N/A ST_NLINK str N/A ST_UID str N/A ST_GID str N/A ST_SIZE str N/A ST_ATIME N/A self epochseconds_to_iso8601 N/A ST_MTIME N/A self epochseconds_to_iso8601 N/A ST_CTIME N/A self epochseconds_to_iso8601 N/A d N/A N/A k fn_map N/A N/A N/A d N/A k N/A N/A N/A fn_map N/A k N/A 1 N/A stat N/A N/A N/A fn_map N/A k N/A 0 N/A d N/A s3key_json_filter N/A N/A self x N/A N/A N/A N/A N/A x N/A 0 s3bucket N/A N/A False N/A True N/A __init__ N/A N/A self yas3fs logger N/A None N/A N/A N/A N/A N/A super RecoverYas3fsPlugin self __init__ yas3fs logger N/A N/A self recovery_path N/A N/A N/A yas3fs cache cache_path /recovery N/A N/A self cache N/A yas3fs cache N/A N/A N/A N/A self logger info N/A PLUGIN Recovery Path '%s' N/A self recovery_path N/A N/A N/A N/A N/A os makedirs N/A self recovery_path N/A N/A N/A N/A self logger debug N/A PLUGIN created recovery path '%s' done N/A self recovery_path N/A N/A N/A OSError N/A exc N/A N/A N/A N/A N/A exc errno N/A errno EEXIST N/A N/A N/A os path isdir N/A self recovery_path N/A N/A N/A N/A N/A self logger debug N/A PLUGIN create_dirs '%s' already there N/A self recovery_path N/A N/A N/A N/A make_recovery_copy N/A N/A self cache_file N/A N/A N/A path N/A N/A re sub N/A N/A self cache cache_path cache_file N/A path N/A N/A re sub /files path N/A recovery_file N/A N/A self recovery_path path N/A N/A N/A N/A self logger info N/A PLUGIN copying file from '%s' to '%s' N/A cache_file recovery_file N/A recovery_path N/A N/A N/A os path dirname recovery_file N/A N/A N/A N/A N/A os makedirs recovery_path N/A N/A N/A N/A self logger debug N/A PLUGIN created recovery path '%s' done recovery_path N/A N/A N/A OSError N/A exc N/A N/A N/A N/A N/A exc errno N/A errno EEXIST N/A N/A N/A os path isdir recovery_path N/A N/A N/A N/A N/A self logger debug N/A PLUGIN create_dirs '%s' already there recovery_path N/A N/A N/A N/A shutil N/A N/A N/A shutil copyfile cache_file recovery_file N/A N/A N/A N/A self logger info N/A PLUGIN copying file from '%s' to '%s' done N/A cache_file recovery_file N/A True N/A do_cmd_on_s3_now_w_retries N/A N/A self fn N/A N/A wrapper N/A N/A N/A args kargs N/A N/A N/A N/A N/A fn args kargs N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self logger error PLUGIN N/A selfless_args None N/A N/A args N/A 1 N/A N/A selfless_args N/A args N/A 1 N/A N/A N/A N/A self logger error N/A N/A PLUGIN do_cmd_on_s3_now_w_retries FAILED N/A str selfless_args N/A s N/A args N/A 0 N/A key N/A args N/A 1 N/A pub N/A args N/A 2 N/A action N/A args N/A 3 N/A arg N/A args N/A 4 N/A kargs N/A args N/A 5 N/A N/A N/A pub N/A 0 upload N/A N/A N/A N/A path N/A pub N/A 1 N/A cache_file N/A N/A N/A s cache get_cache_filename path N/A cache_stat N/A N/A os stat cache_file N/A etag None N/A etag_filename N/A N/A N/A s cache get_cache_etags_filename path N/A N/A N/A N/A os path isfile etag_filename N/A N/A N/A open etag_filename mode r etag_file N/A N/A etag N/A N/A etag_file read N/A json_recover N/A action action_time pub_action file cache_file cache_stat etag_filename etag exception s3key action N/A N/A self epochseconds_to_iso8601 N/A pub N/A 0 path cache_file N/A N/A self stat_to_dict cache_stat etag_filename etag N/A str e N/A dict N/A filter N/A self s3key_json_filter N/A N/A N/A key __dict__ iteritems N/A N/A N/A N/A self logger error N/A RecoverYAS3FS PLUGIN UPLOAD FAILED  N/A N/A json dumps json_recover N/A N/A N/A self make_recovery_copy cache_file N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self logger exception e N/A N/A args N/A 2 N/A N/A wrapper N/A N/A