[CalendarServer-changes] [14090] CalendarServer/trunk/txdav/who/test/test_util.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Oct 17 12:49:34 PDT 2014


Revision: 14090
          http://trac.calendarserver.org//changeset/14090
Author:   cdaboo at apple.com
Date:     2014-10-17 12:49:34 -0700 (Fri, 17 Oct 2014)
Log Message:
-----------
pyflakes.

Modified Paths:
--------------
    CalendarServer/trunk/txdav/who/test/test_util.py

Modified: CalendarServer/trunk/txdav/who/test/test_util.py
===================================================================
--- CalendarServer/trunk/txdav/who/test/test_util.py	2014-10-17 19:25:48 UTC (rev 14089)
+++ CalendarServer/trunk/txdav/who/test/test_util.py	2014-10-17 19:49:34 UTC (rev 14090)
@@ -28,7 +28,7 @@
 from twisted.python.filepath import FilePath
 from twisted.trial.unittest import TestCase
 from twistedcaldav.config import ConfigDict
-import twistedcaldav.stdconfig #@UnusedImport
+from twistedcaldav.stdconfig import config as stdconfig
 from txdav.who.augment import AugmentedDirectoryService
 from txdav.who.delegates import (
     DirectoryService as DelegateDirectoryService,
@@ -42,6 +42,7 @@
     RecordType as WikiRecordType,
 )
 
+hasattr(stdconfig, "Servers")   # Quell pyflakes
 
 class StubStore(object):
     pass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20141017/435be37d/attachment-0001.html>


More information about the calendarserver-changes mailing list