Log "nobody" instead of "None" as anonymous calendars owner.
This commit is contained in:
		| @@ -184,7 +184,8 @@ class Application(object): | |||||||
|                         calendars.append(calendar) |                         calendars.append(calendar) | ||||||
|                     continue |                     continue | ||||||
|                 log.LOGGER.info( |                 log.LOGGER.info( | ||||||
|                     "Checking rights for calendar owned by %s" % calendar.owner) |                     "Checking rights for calendar owned by %s" % ( | ||||||
|  |                         calendar.owner or "nobody")) | ||||||
|  |  | ||||||
|                 if self.acl.has_right(calendar.owner, user, password): |                 if self.acl.has_right(calendar.owner, user, password): | ||||||
|                     log.LOGGER.info("%s allowed" % (user or "anonymous user")) |                     log.LOGGER.info("%s allowed" % (user or "anonymous user")) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Guillaume Ayoub
					Guillaume Ayoub