Module ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Call NameLoad keyword BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Str keyword Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assign NameStore BinOpMod Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Str decorator_list decorator_list
N/A os.path join base BaseService Service N/A BaseService N/A env N/A N/A self N/A N/A N/A N/A dict UPLOADS_PATH N/A /web/%s/uploads N/A N/A self project name SITE_ROOT N/A /web/%s N/A N/A self project name N/A property _dump_path N/A N/A self path N/A N/A N/A N/A join path uploads N/A dump N/A N/A self node path N/A N/A N/A N/A N/A node ssh N/A cp -R %s %s N/A N/A N/A self env N/A UPLOADS_PATH N/A N/A self _dump_path path pipe True user web N/A load N/A N/A self node path N/A N/A N/A Uses symlinks to switch the uploads directory as atomically
        as possible. N/A paths N/A dict uploads N/A N/A self env N/A UPLOADS_PATH dump N/A N/A self _dump_path path old_uploads N/A join N/A N/A self env N/A SITE_ROOT old_uploads new_uploads N/A join N/A N/A self env N/A SITE_ROOT new_uploads N/A cmd N/A mv %(uploads)s %(old_uploads)s
ln -s %(old_uploads)s %(uploads)s
cp -R %(dump)s %(new_uploads)s
rm %(uploads)s ; mv %(new_uploads)s %(uploads)s
rm -rf %(old_uploads)s paths N/A N/A N/A node ssh cmd pipe True user web N/A N/A