diff options
author | mike <michael.jmontcalm@gmail.com> | 2009-11-06 05:13:59 (GMT) |
---|---|---|
committer | mike <michael.jmontcalm@gmail.com> | 2009-11-06 05:13:59 (GMT) |
commit | 5491c551a2f88dbda852bc0e9d0c5406019e2be8 (patch) | |
tree | 94eeb2b16fc8b02d7df5ae46b7ae71a6463645bb /tutorius/vault.py | |
parent | 134d1333acc68ac2ccd3b0459df1be948500f1a7 (diff) |
LP 448319 : Add a resource translation layer for tutorial execution
Diffstat (limited to 'tutorius/vault.py')
-rw-r--r-- | tutorius/vault.py | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/tutorius/vault.py b/tutorius/vault.py index 22fa940..9576de9 100644 --- a/tutorius/vault.py +++ b/tutorius/vault.py @@ -324,14 +324,14 @@ class Vault(object): @staticmethod - def deleteTutorial(Tutorial): + def deleteTutorial(tutorial_id): """ Removes the tutorial from the Vault. It will unpublish the tutorial if need be, and it will also wipe it from the persistent storage. @returns true is the tutorial was deleted from the Vault """ - bundle = TutorialBundler(Guid) - bundle_path = bundle.get_tutorial_path(Guid) + bundle = TutorialBundler(tutorial_id) + bundle_path = bundle.get_tutorial_path(tutorial_id) # TODO : Need also to unpublish tutorial, need to interact with webservice module @@ -980,9 +980,3 @@ class TutorialBundler(object): xml_filename = config.get(INI_METADATA_SECTION, INI_XML_FSM_PROPERTY) serializer.save_tutorial(fsm, xml_filename, self.Path) - @staticmethod - def add_resources(typename, file): - """ - Add ressources to metadata. - """ - raise NotImplementedError("add_resources not implemented") |