[kupfer] objects: Use Source's version in repr as well
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] objects: Use Source's version in repr as well
- Date: Thu, 20 Aug 2009 22:11:24 +0000 (UTC)
commit 7ab882ff20909a7074f7bc4f3a61c6f00e125afd
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Thu Aug 20 23:28:42 2009 +0200
objects: Use Source's version in repr as well
kupfer/objects.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/objects.py b/kupfer/objects.py
index ffb5ae4..41fdda5 100644
--- a/kupfer/objects.py
+++ b/kupfer/objects.py
@@ -785,7 +785,7 @@ class Source (KupferObject, pretty.OutputMixin):
def repr_key(self):
# use the source's name so that it is reloaded on locale change
- return self
+ return (self, self.version)
def get_items(self):
"""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]