summaryrefslogtreecommitdiff
path: root/portato/gui/session.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-09-02 13:01:17 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-09-02 13:01:17 +0200
commitafa1de13f0576ace6dcbb0176490fd20922950cd (patch)
tree056a5fd646f53dfa83f2fe231ec0943747b15ffc /portato/gui/session.py
parent02d96210d9102f0cdec95b4e0f595cbd8fdd1e10 (diff)
downloadportato-afa1de13f0576ace6dcbb0176490fd20922950cd.tar.gz
portato-afa1de13f0576ace6dcbb0176490fd20922950cd.tar.bz2
portato-afa1de13f0576ace6dcbb0176490fd20922950cd.zip
Switch from tabs to 4 spaces
Diffstat (limited to 'portato/gui/session.py')
-rw-r--r--portato/gui/session.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/portato/gui/session.py b/portato/gui/session.py
index a37cd85..1eca248 100644
--- a/portato/gui/session.py
+++ b/portato/gui/session.py
@@ -18,16 +18,16 @@ SESSION_VERSION = 1
class SessionException (Exception):
- error = _("Version mismatch.")
- def __init__ (self, got, expected):
- self.got = got
- self.expected = expected
+ error = _("Version mismatch.")
+ def __init__ (self, got, expected):
+ self.got = got
+ self.expected = expected
- def __str__ (self):
- return "%s %s" % (self.error, (_("Got '%d' - expected '%d'.") % (self.got, self.expected)))
+ def __str__ (self):
+ return "%s %s" % (self.error, (_("Got '%d' - expected '%d'.") % (self.got, self.expected)))
class OldSessionException (SessionException):
- error = _("Current session format is too old.")
+ error = _("Current session format is too old.")
class NewSessionException (SessionException):
- error = _("Current session format is newer than this version supports.")
+ error = _("Current session format is newer than this version supports.")