[CalendarServer-changes] [15534] CalDAVClientLibrary/trunk/caldavclientlibrary/ui/WebDAVBrowser.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Apr 20 11:28:08 PDT 2016
Revision: 15534
http://trac.calendarserver.org//changeset/15534
Author: cdaboo at apple.com
Date: 2016-04-20 11:28:08 -0700 (Wed, 20 Apr 2016)
Log Message:
-----------
Quell pydev errors.
Modified Paths:
--------------
CalDAVClientLibrary/trunk/caldavclientlibrary/ui/WebDAVBrowser.py
Modified: CalDAVClientLibrary/trunk/caldavclientlibrary/ui/WebDAVBrowser.py
===================================================================
--- CalDAVClientLibrary/trunk/caldavclientlibrary/ui/WebDAVBrowser.py 2016-04-20 17:56:08 UTC (rev 15533)
+++ CalDAVClientLibrary/trunk/caldavclientlibrary/ui/WebDAVBrowser.py 2016-04-20 18:28:08 UTC (rev 15534)
@@ -44,7 +44,7 @@
from PyObjCTools import NibClassBuilder, AppHelper
-import objc
+#import objc
from caldavclientlibrary.protocol.utils import xmlhelpers
from caldavclientlibrary.ui.session import Session
@@ -241,8 +241,8 @@
"""
toolbar = NSToolbar.alloc().initWithIdentifier_("Toolbar")
toolbar.setDelegate_(self)
- toolbar.setAllowsUserCustomization_(YES)
- toolbar.setAutosavesConfiguration_(YES)
+ toolbar.setAllowsUserCustomization_(YES) #@UndefinedVariable
+ toolbar.setAutosavesConfiguration_(YES) #@UndefinedVariable
self.createToolbarItems()
@@ -346,10 +346,10 @@
}.get(view, None)
if self.currentBrowserView != newView:
if self.currentBrowserView:
- self.currentBrowserView.setHidden_(YES)
+ self.currentBrowserView.setHidden_(YES) #@UndefinedVariable
self.currentBrowserView = newView
if self.currentBrowserView:
- self.currentBrowserView.setHidden_(NO)
+ self.currentBrowserView.setHidden_(NO) #@UndefinedVariable
self.browserview = view
self.refreshView()
@@ -372,10 +372,10 @@
}.get(view, None)
if self.currentDataView != newView:
if self.currentDataView:
- self.currentDataView.setHidden_(YES)
+ self.currentDataView.setHidden_(YES) #@UndefinedVariable
self.currentDataView = newView
if self.currentDataView:
- self.currentDataView.setHidden_(NO)
+ self.currentDataView.setHidden_(NO) #@UndefinedVariable
self.dataview = view
self.refreshView()
@@ -563,10 +563,10 @@
Delegate method to return the whether an item in the outline view is expandable.
"""
if item is None:
- return YES
+ return YES #@UndefinedVariable
else:
resource = unwrap_object(item)
- return YES if resource.isCollection() else NO
+ return YES if resource.isCollection() else NO #@UndefinedVariable
def outlineView_child_ofItem_(self, outlineView, index, item):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20160420/9f325819/attachment.html>
More information about the calendarserver-changes
mailing list