Skip to content

Commit

Permalink
Specify string format arguments as logging function parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
yaph committed Jul 24, 2014
1 parent 588f898 commit 11a49d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logya/serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,6 @@ class HTTPRequestHandler(SimpleHTTPRequestHandler):
def do_GET(self):
"""Return refreshed resource."""

logging.info("Requested resource: %s" % self.path)
logging.info('Requested resource: %s', self.path)
self.server.logya.refresh_resource(self.path)
SimpleHTTPRequestHandler.do_GET(self)

0 comments on commit 11a49d0

Please sign in to comment.