Use warning instead of warn for logging (fix #170)

This commit is contained in:
Guillaume Ayoub 2014-06-15 10:19:34 +02:00
parent c5f19bb05b
commit 6854cd0ee3

View File

@ -90,7 +90,7 @@ class HTTPSServer(HTTPServer):
try: try:
open(filename, "r").close() open(filename, "r").close()
except IOError as exception: except IOError as exception:
log.LOGGER.warn( log.LOGGER.warning(
"Error while reading SSL %s %r: %s" % ( "Error while reading SSL %s %r: %s" % (
name, filename, exception)) name, filename, exception))