diff --git a/html5lib/sanitizer.py b/html5lib/sanitizer.py
index 3024ef24..e7956578 100644
--- a/html5lib/sanitizer.py
+++ b/html5lib/sanitizer.py
@@ -214,8 +214,7 @@ def sanitize_token(self, token):
def allowed_token(self, token, token_type):
if "data" in token:
attrs = dict((name, val) for name, val in
- token["data"][::-1]
- if name in self.allowed_attributes)
+ token["data"][::-1] if name in self.allowed_attributes)
for attr in self.attr_val_is_uri:
if attr not in attrs:
continue