From 6854cd0ee3e0acb93a9c9ef0a6960fa1173bcdaa Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Sun, 15 Jun 2014 10:19:34 +0200 Subject: [PATCH] Use warning instead of warn for logging (fix #170) --- radicale/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/__init__.py b/radicale/__init__.py index e513a58..692e633 100644 --- a/radicale/__init__.py +++ b/radicale/__init__.py @@ -90,7 +90,7 @@ class HTTPSServer(HTTPServer): try: open(filename, "r").close() except IOError as exception: - log.LOGGER.warn( + log.LOGGER.warning( "Error while reading SSL %s %r: %s" % ( name, filename, exception))