[tryton-debian-vcs] tryton-modules-calendar-todo branch debian updated. debian/3.0.0-2-2-ged33ccb
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Dec 11 13:46:53 UTC 2013
The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-calendar-todo.git;a=commitdiff;h=debian/3.0.0-2-2-ged33ccb
commit ed33ccbc6b3b11044f48d594500b7f01f96edaad
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Dec 11 14:46:09 2013 +0100
Releasing debian version 3.0.1-1.
diff --git a/debian/changelog b/debian/changelog
index 707400b..f9188c8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-modules-calendar-todo (3.0.1-1) unstable; urgency=low
+
+ * Merging upstream version 3.0.1.
+
+ -- Mathias Behrle <mathiasb at m9s.biz> Wed, 11 Dec 2013 12:59:52 +0100
+
tryton-modules-calendar-todo (3.0.0-2) unstable; urgency=low
* Pointing VCS fields to new location on alioth.debian.org.
commit 7e0e829707736e56585604be06c66d20c5c7bf31
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Dec 11 12:57:49 2013 +0100
Merging upstream version 3.0.1.
diff --git a/CHANGELOG b/CHANGELOG
index ad7e2ac..ad668b9 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.0.1 - 2013-12-04
+* Bug fixes (see mercurial logs for details)
+
Version 3.0.0 - 2013-10-21
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index fca3e1f..106ebf7 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_calendar_todo
-Version: 3.0.0
+Version: 3.0.1
Summary: Tryton module to add TODO on CalDAV
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/todo.py b/todo.py
index fd41a04..1081fcf 100644
--- a/todo.py
+++ b/todo.py
@@ -493,7 +493,7 @@ class Todo(ModelSQL, ModelView):
if hasattr(vtodo, 'percent_complete'):
res['percent_complete'] = int(vtodo.percent_complete.value)
else:
- res['percent_complete'] = None
+ res['percent_complete'] = 0
if hasattr(vtodo, 'completed'):
if not isinstance(vtodo.completed.value, datetime.datetime):
@@ -813,7 +813,7 @@ class Todo(ModelSQL, ModelView):
vtodo.add('class')
getattr(vtodo, 'class').value = self.classification.upper()
elif getattr(vtodo, 'class').value.lower() in \
- dict(self.classification.selection):
+ dict(self.__class__.classification.selection):
getattr(vtodo, 'class').value = self.classification.upper()
if self.location:
if not hasattr(vtodo, 'location'):
diff --git a/tryton.cfg b/tryton.cfg
index 3141578..a2b44e1 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.0.0
+version=3.0.1
depends:
calendar
ir
diff --git a/trytond_calendar_todo.egg-info/PKG-INFO b/trytond_calendar_todo.egg-info/PKG-INFO
index 3a42499..9891078 100644
--- a/trytond_calendar_todo.egg-info/PKG-INFO
+++ b/trytond_calendar_todo.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-calendar-todo
-Version: 3.0.0
+Version: 3.0.1
Summary: Tryton module to add TODO on CalDAV
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/webdav.py b/webdav.py
index 5093fe3..02e9ad4 100644
--- a/webdav.py
+++ b/webdav.py
@@ -33,13 +33,13 @@ class Collection:
calendar_id = cls.calendar(uri)
if not calendar_id:
return None
- todo_ids = Todo.search([
+ todos = Todo.search([
('calendar', '=', calendar_id),
('uuid', '=', todo_uri[:-4]),
('parent', '=', None),
], limit=1)
- if todo_ids:
- return todo_ids[0]
+ if todos:
+ return todos[0].id
@classmethod
def _caldav_filter_domain_todo(cls, filter):
--
tryton-modules-calendar-todo
More information about the tryton-debian-vcs
mailing list