damned-lies r1465 - in trunk: . vertimus
- From: claudep svn gnome org
- To: svn-commits-list gnome org
- Subject: damned-lies r1465 - in trunk: . vertimus
- Date: Wed, 4 Mar 2009 19:05:30 +0000 (UTC)
Author: claudep
Date: Wed Mar 4 19:05:30 2009
New Revision: 1465
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1465&view=rev
Log:
2009-03-04 Claude Paroz <claude 2xlibre net>
* vertimus/models.py: ActionDbBackup also needs the get_action method for
rss feeds.
Modified:
trunk/ChangeLog
trunk/vertimus/models.py
Modified: trunk/vertimus/models.py
==============================================================================
--- trunk/vertimus/models.py (original)
+++ trunk/vertimus/models.py Wed Mar 4 19:05:30 2009
@@ -656,6 +656,11 @@
def __unicode__(self):
return "%s (%s)" % (self.name, self.id)
+ def get_action(self):
+ action = eval('Action' + self.name)()
+ action._action_db = self
+ return action
+
class ActionBA(ActionAbstract):
name = 'BA'
description = _('Backup the actions')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]