summaryrefslogtreecommitdiff
path: root/portato/backend/system_interface.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-03-28 15:01:29 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-03-28 15:01:29 +0100
commit44965f41dfaddc9d7d7eab86498fc25b65793db2 (patch)
treeaea137c2934bef679d610e65503354dc15108a18 /portato/backend/system_interface.py
parent418690070652c20a10681f9a61a958cd2a0920f6 (diff)
downloadportato-44965f41dfaddc9d7d7eab86498fc25b65793db2.tar.gz
portato-44965f41dfaddc9d7d7eab86498fc25b65793db2.tar.bz2
portato-44965f41dfaddc9d7d7eab86498fc25b65793db2.zip
Added version infos to exceptions
Diffstat (limited to 'portato/backend/system_interface.py')
-rw-r--r--portato/backend/system_interface.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/portato/backend/system_interface.py b/portato/backend/system_interface.py
index fce8069..43a44ad 100644
--- a/portato/backend/system_interface.py
+++ b/portato/backend/system_interface.py
@@ -12,6 +12,13 @@
class SystemInterface (object):
+ def get_version (self):
+ """Returns the version of the used backend.
+
+ @rtype: string
+ """
+ raise NotImplementedError
+
def split_cpv (self, cpv):
"""Splits a cpv into all its parts.