[CalendarServer-changes] [15557] CalendarServer/trunk/txdav/base/propertystore/xattr.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Apr 27 11:23:41 PDT 2016


Revision: 15557
          http://trac.calendarserver.org//changeset/15557
Author:   wsanchez at apple.com
Date:     2016-04-27 11:23:41 -0700 (Wed, 27 Apr 2016)
Log Message:
-----------
Assume ENOATTR on all FreeBSDs

Modified Paths:
--------------
    CalendarServer/trunk/txdav/base/propertystore/xattr.py

Modified: CalendarServer/trunk/txdav/base/propertystore/xattr.py
===================================================================
--- CalendarServer/trunk/txdav/base/propertystore/xattr.py	2016-04-26 14:58:58 UTC (rev 15556)
+++ CalendarServer/trunk/txdav/base/propertystore/xattr.py	2016-04-27 18:23:41 UTC (rev 15557)
@@ -47,7 +47,7 @@
 # expose.  Its value is 93.
 #
 
-if sys.platform in ("darwin", "freebsd8", "freebsd9"):
+if sys.platform == "darwin" or sys.platform[:7] == "freebsd":
     _ERRNO_NO_ATTR = getattr(errno, "ENOATTR", 93)
 else:
     _ERRNO_NO_ATTR = errno.ENODATA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20160427/905026d9/attachment.html>


More information about the calendarserver-changes mailing list