[CalendarServer-changes] [289] CalendarServer/trunk/twistedcaldav

source_changes at macosforge.org source_changes at macosforge.org
Mon Oct 23 21:14:25 PDT 2006


Revision: 289
          http://trac.macosforge.org/projects/calendarserver/changeset/289
Author:   wsanchez at apple.com
Date:     2006-10-23 21:14:24 -0700 (Mon, 23 Oct 2006)

Log Message:
-----------
Fix stuff that was caught by running pyflakes.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/caldavxml.py
    CalendarServer/trunk/twistedcaldav/db.py
    CalendarServer/trunk/twistedcaldav/itip.py
    CalendarServer/trunk/twistedcaldav/method/report_common.py
    CalendarServer/trunk/twistedcaldav/test/data/csv2ical.py
    CalendarServer/trunk/twistedcaldav/test/test_collectioncontents.py
    CalendarServer/trunk/twistedcaldav/test/test_freebusyquery.py
    CalendarServer/trunk/twistedcaldav/test/test_icalendar.py

Modified: CalendarServer/trunk/twistedcaldav/caldavxml.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/caldavxml.py	2006-10-24 02:25:11 UTC (rev 288)
+++ CalendarServer/trunk/twistedcaldav/caldavxml.py	2006-10-24 04:14:24 UTC (rev 289)
@@ -27,7 +27,6 @@
 See draft spec: http://ietf.webdav.org/caldav/draft-dusseault-caldav.txt
 """
 
-from twisted.python import log
 from twisted.web2.dav import davxml
 
 from twistedcaldav.dateops import clipPeriod, timeRangesOverlap

Modified: CalendarServer/trunk/twistedcaldav/db.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/db.py	2006-10-24 02:25:11 UTC (rev 288)
+++ CalendarServer/trunk/twistedcaldav/db.py	2006-10-24 04:14:24 UTC (rev 289)
@@ -25,7 +25,6 @@
 
 from pysqlite2 import dbapi2 as sqlite
 from twisted.python import log
-from twisted.python.failure import Failure
 import os
 
 db_basename = ".db.sqlite"

Modified: CalendarServer/trunk/twistedcaldav/itip.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/itip.py	2006-10-24 02:25:11 UTC (rev 288)
+++ CalendarServer/trunk/twistedcaldav/itip.py	2006-10-24 04:14:24 UTC (rev 289)
@@ -35,7 +35,6 @@
 import datetime
 import logging
 import md5
-import os
 import time
 
 from twisted.python import log, failure
@@ -49,7 +48,6 @@
 from twistedcaldav.method import report_common
 from twistedcaldav.method.put_common import storeCalendarObjectResource
 from twistedcaldav.resource import CalendarPrincipalCollectionResource, isCalendarCollectionResource
-from twistedcaldav.static import CalDAVFile
 
 __version__ = "0.0"
 

Modified: CalendarServer/trunk/twistedcaldav/method/report_common.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/method/report_common.py	2006-10-24 02:25:11 UTC (rev 288)
+++ CalendarServer/trunk/twistedcaldav/method/report_common.py	2006-10-24 04:14:24 UTC (rev 289)
@@ -38,7 +38,6 @@
 from twisted.web2.dav.method.propfind import propertyName
 from twisted.web2.dav.method.report import NumberOfMatchesWithinLimits
 from twisted.web2.dav.method.report import max_number_of_matches
-from twisted.web2.dav.util import joinURL
 
 from twistedcaldav import caldavxml
 from twistedcaldav.caldavxml import caldav_namespace

Modified: CalendarServer/trunk/twistedcaldav/test/data/csv2ical.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/test/data/csv2ical.py	2006-10-24 02:25:11 UTC (rev 288)
+++ CalendarServer/trunk/twistedcaldav/test/data/csv2ical.py	2006-10-24 04:14:24 UTC (rev 289)
@@ -25,7 +25,6 @@
 # Dedicated to Amir.
 #
 
-import os
 import sys
 import csv
 import datetime

Modified: CalendarServer/trunk/twistedcaldav/test/test_collectioncontents.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/test/test_collectioncontents.py	2006-10-24 02:25:11 UTC (rev 288)
+++ CalendarServer/trunk/twistedcaldav/test/test_collectioncontents.py	2006-10-24 04:14:24 UTC (rev 289)
@@ -23,11 +23,9 @@
 from twisted.web2.iweb import IResponse
 from twisted.web2.stream import MemoryStream, FileStream
 from twisted.web2.http_headers import MimeType
-from twisted.web2.dav.fileop import rmdir
 from twisted.web2.test.test_server import SimpleRequest
 
 from twistedcaldav.ical import Component
-from twistedcaldav.static import CalDAVFile
 import twistedcaldav.test.util
 
 class CollectionContents (twistedcaldav.test.util.TestCase):

Modified: CalendarServer/trunk/twistedcaldav/test/test_freebusyquery.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/test/test_freebusyquery.py	2006-10-24 02:25:11 UTC (rev 288)
+++ CalendarServer/trunk/twistedcaldav/test/test_freebusyquery.py	2006-10-24 04:14:24 UTC (rev 289)
@@ -25,14 +25,11 @@
 from twisted.web2 import responsecode
 from twisted.web2.iweb import IResponse
 from twisted.web2.stream import MemoryStream
-from twisted.web2.dav import davxml
 from twisted.web2.dav.fileop import rmdir
-from twisted.web2.dav.util import davXMLFromStream
 from twisted.web2.test.test_server import SimpleRequest
 
 import twistedcaldav.test.util
 from twistedcaldav import caldavxml
-from twistedcaldav import ical
 from twistedcaldav.index import db_basename
 
 class FreeBusyQuery (twistedcaldav.test.util.TestCase):

Modified: CalendarServer/trunk/twistedcaldav/test/test_icalendar.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/test/test_icalendar.py	2006-10-24 02:25:11 UTC (rev 288)
+++ CalendarServer/trunk/twistedcaldav/test/test_icalendar.py	2006-10-24 04:14:24 UTC (rev 289)
@@ -20,7 +20,6 @@
 import datetime
 
 from twisted.trial.unittest import SkipTest
-from twisted.web2.dav import davxml
 
 from twistedcaldav.ical import *
 import twistedcaldav.test.util

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061023/e0585801/attachment.html


More information about the calendarserver-changes mailing list