From cb490b122d52bead793fc6fada23be0b13eabc0b Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Sun, 27 Sep 2015 21:48:42 -0700 Subject: [PATCH] reformatting indentation --- premailer/merge_style.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/premailer/merge_style.py b/premailer/merge_style.py index 9842e63..4073171 100644 --- a/premailer/merge_style.py +++ b/premailer/merge_style.py @@ -11,9 +11,13 @@ def csstext_to_pairs(csstext): # The lock is required to avoid ``cssutils`` concurrency # issues documented in issue #65 with csstext_to_pairs._lock: - return sorted([(prop.name.strip(), prop.propertyValue.cssText.strip()) - for prop in cssutils.parseStyle(csstext)], - key=itemgetter(0)) + return sorted( + [ + (prop.name.strip(), prop.propertyValue.cssText.strip()) + for prop in cssutils.parseStyle(csstext) + ], + key=itemgetter(0) + ) csstext_to_pairs._lock = threading.RLock()