[CalendarServer-changes] [5280] CalendarServer/trunk/twistedcaldav/directory/augment.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Mar 10 09:36:16 PST 2010
Revision: 5280
http://trac.macosforge.org/projects/calendarserver/changeset/5280
Author: sagen at apple.com
Date: 2010-03-10 09:36:16 -0800 (Wed, 10 Mar 2010)
Log Message:
-----------
Fix logging
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/directory/augment.py
Modified: CalendarServer/trunk/twistedcaldav/directory/augment.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/augment.py 2010-03-10 17:32:56 UTC (rev 5279)
+++ CalendarServer/trunk/twistedcaldav/directory/augment.py 2010-03-10 17:36:16 UTC (rev 5280)
@@ -192,13 +192,13 @@
try:
uid = pwd.getpwnam(config.UserName).pw_uid
except KeyError:
- self.log_error("User not found: %s" % (config.UserName,))
+ log.error("User not found: %s" % (config.UserName,))
gid = -1
if config.GroupName:
try:
gid = grp.getgrnam(config.GroupName).gr_gid
except KeyError:
- self.log_error("Group not found: %s" % (config.GroupName,))
+ log.error("Group not found: %s" % (config.GroupName,))
if uid != -1 and gid != -1:
os.chown(missedFile, uid, gid)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100310/84ac53a5/attachment-0001.html>
More information about the calendarserver-changes
mailing list