Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tutorius/vault.py
diff options
context:
space:
mode:
authormike <michael.jmontcalm@gmail.com>2009-11-06 03:23:24 (GMT)
committer mike <michael.jmontcalm@gmail.com>2009-11-06 03:23:24 (GMT)
commita4bb559bee98c48a6a372a7ffc15b027e365ff6c (patch)
treedebfb178a51633e58fc7ea14c1237353d4a7d91b /tutorius/vault.py
parent29338d21201d35d815719d5efadde70411bdda54 (diff)
LP 458452 : Fixing function names for Translator tests
Diffstat (limited to 'tutorius/vault.py')
-rw-r--r--tutorius/vault.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tutorius/vault.py b/tutorius/vault.py
index 9cda2e9..ec08d01 100644
--- a/tutorius/vault.py
+++ b/tutorius/vault.py
@@ -323,7 +323,7 @@ class Vault(object):
@staticmethod
- def add_ressource(tutorial_guid, file_path):
+ def add_resource(tutorial_guid, file_path):
"""
Returns a unique name for this resource composed from the original name of the file
and a suffix to make it unique ( ex: name_1.jpg ) and add it to the resources for the tutorial.
@@ -354,7 +354,7 @@ class Vault(object):
@staticmethod
- def delete_ressource(tutorial_guid, ressource_id):
+ def delete_resource(tutorial_guid, ressource_id):
"""
Delete the resource from the resources of the tutorial.
@param tutorial_guid the guid of the tutorial
@@ -372,7 +372,7 @@ class Vault(object):
print('File not found, no delete took place')
@staticmethod
- def get_ressource_path(tutorial_guid, ressource_id):
+ def get_resource_path(tutorial_guid, ressource_id):
"""
Returns the absolute file path to the resourceID
@param tutorial_guid the guid of the tutorial