Reviewers: ,


Please review this at http://codereview.tryton.org/164005/

Affected files:
  M todo.py
  M webdav.py


Index: todo.py
===================================================================

--- a/todo.py
+++ b/todo.py
@@ -422,7 +422,6 @@
         pool = Pool()
         category_obj = pool.get('calendar.category')
         location_obj = pool.get('calendar.location')
-        user_obj = pool.get('res.user')
         alarm_obj = pool.get('calendar.todo.alarm')
         attendee_obj = pool.get('calendar.todo.attendee')
         rdate_obj = pool.get('calendar.todo.rdate')

Index: webdav.py
===================================================================

--- a/webdav.py
+++ b/webdav.py
@@ -106,7 +106,6 @@
         return res

     def get_childs(self, uri, filter=None, cache=None):
-        calendar_obj = Pool().get('calendar.calendar')
         todo_obj = Pool().get('calendar.todo')

         res = super(Collection, self).get_childs(uri, filter=filter,
@@ -152,7 +151,6 @@
         return super(Collection, self).get_contenttype(uri, cache=cache)

     def get_creationdate(self, uri, cache=None):
-        calendar_obj = Pool().get('calendar.calendar')
         todo_obj = Pool().get('calendar.todo')

         cursor = Transaction().cursor
@@ -198,7 +196,6 @@
         return super(Collection, self).get_creationdate(uri, cache=cache)

     def get_lastmodified(self, uri, cache=None):
-        calendar_obj = Pool().get('calendar.calendar')
         todo_obj = Pool().get('calendar.todo')

         cursor = Transaction().cursor
@@ -247,7 +244,6 @@

     def get_data(self, uri, cache=None):
         todo_obj = Pool().get('calendar.todo')
-        calendar_obj = Pool().get('calendar.calendar')

         calendar_id = self.calendar(uri)
         if calendar_id:



--
[email protected] mailing list

Reply via email to