[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#742999: Git Repo



[Guido Günther]
> Hi,
> just for completeness. Packaging is currently taking place at
> 
>   https://github.com/fpiotrow/caldav-tester-packaging

I notice a new version of python-pycalendar is needed for this program to
work properly.  But what about uploading it to debian as it is without
the new version, and at least test the parts that do not depend on this new
version?

As far as I can tell from testing, this small patch got the tester running
in unstable:

diff --git a/src/caldavtest.py b/src/caldavtest.py
index e10a238..ae9dfa3 100644
--- a/src/caldavtest.py
+++ b/src/caldavtest.py
@@ -19,7 +19,7 @@ Class to encapsulate a single caldav test run.
 """
 
 from cStringIO import StringIO
-from pycalendar.icalendar.calendar import Calendar
+#from pycalendar.icalendar.calendar import Calendar
 from src.httpshandler import SmartHTTPConnection
 from src.manager import manager
 from src.request import data, pause
@@ -908,7 +908,7 @@ class caldavtest(object):
     def _calProperty(self, propertyname, respdata):
 
         try:
-            cal = Calendar.parseText(respdata)
+            cal = Calendar.parseText(respdata) # broken?
         except Exception:
             return None
 
Perhaps the calendar parser function can be replaced with something
already in Debian?
-- 
Happy hacking
Petter Reinholdtsen


Reply to: