COT.remove_file
module¶
Module for removing files from VM definitions.
COTRemoveFile (ui) |
Remove a file (such as a README) from the package. |
-
class
COTRemoveFile
(ui)[source]¶ Bases:
COT.submodule.COTSubmodule
Remove a file (such as a README) from the package.
Inherited attributes:
UI
,package
,output
Attributes:
file_path
,file_id
-
ready_to_run
()[source]¶ Check whether the module is ready to
run()
.Returns: (True, ready_message)
or(False, reason_why_not)
-
run
()[source]¶ Do the actual work of this submodule.
Raises: InvalidInputError – if ready_to_run()
reportsFalse
-
file_id
= None¶ File identifier to be removed from the package.
-
file_path
= None¶ File name or path to be removed from the package.
-