raise PublicStoreFail(keyname=keyname)
# raise an error if the file failed to copy
- copied_filepath = mgg.public_store.get_local_path(target_filepath)
- if not os.path.exists(copied_filepath):
+ if not mgg.public_store.file_exists(target_filepath):
raise PublicStoreFail(keyname=keyname)
entry.media_files[keyname] = target_filepath
subclass from.
You shouldn't call this itself; instead you should subclass it
- and provid the exception_path and general_message applicable to
+ and provide the exception_path and general_message applicable to
this error.
"""
general_message = u''