summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-11-06 20:35:24 -0500
committerSimo Sorce <simo@redhat.com>2015-11-06 20:41:05 -0500
commit864ba23a7d7cf19573cc98edc48d7d57c459c70f (patch)
tree8cf3ae3025f7d9f91c1c496934b15cf284dcbed5
parentcdca1b98267610e479f05c8d0f3f9d142f73744c (diff)
downloadcustodia-864ba23a7d7cf19573cc98edc48d7d57c459c70f.tar.gz
custodia-864ba23a7d7cf19573cc98edc48d7d57c459c70f.tar.xz
custodia-864ba23a7d7cf19573cc98edc48d7d57c459c70f.zip
Do not use reserved words wor argument names
Signed-off-by: Simo Sorce <simo@redhat.com>
-rw-r--r--custodia/httpd/server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/custodia/httpd/server.py b/custodia/httpd/server.py
index 46dfe92..4b16edc 100644
--- a/custodia/httpd/server.py
+++ b/custodia/httpd/server.py
@@ -282,8 +282,8 @@ class HTTPRequestHandler(BaseHTTPRequestHandler):
self.close_connection = 1
return
- def log_error(self, format, *args, **kwargs):
- logger.error(format, *args, **kwargs)
+ def log_error(self, fmtstr, *args, **kwargs):
+ logger.error(fmtstr, *args, **kwargs)
def pipeline(self, config, request):
"""