]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
pep8
authorMax Shytikov <mshytikov@gmail.com>
Sun, 4 May 2014 00:10:19 +0000 (02:10 +0200)
committerMax Shytikov <mshytikov@gmail.com>
Sun, 4 May 2014 00:12:48 +0000 (02:12 +0200)
vcr/matchers.py

index c471538f7fb400dd15ea67c268c0352e13a52c4b..4964b9fcf0e51e1e62fd7471f727b4366cad81be 100644 (file)
@@ -1,6 +1,7 @@
 import logging
 log = logging.getLogger(__name__)
 
+
 def method(r1, r2):
     return r1.method == r2.method
 
@@ -40,7 +41,11 @@ def headers(r1, r2):
 def _log_matches(matches):
     differences = [m for m in matches if not m[0]]
     if differences:
-        log.debug('Requests differ according to the following matchers: {0}'.format(differences))
+        log.debug(
+            'Requests differ according to the following matchers: ' +
+            str(differences)
+        )
+
 
 def requests_match(r1, r2, matchers):
     matches = [(m(r1, r2), m) for m in matchers]