From 248c27c9e885d5ecea14c7df20786c22a059a6ea Mon Sep 17 00:00:00 2001 From: William Ballenthin Date: Mon, 6 Jul 2020 16:54:52 -0600 Subject: [PATCH] pep8 --- capa/rules.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/capa/rules.py b/capa/rules.py index 305c4a95..09508df2 100644 --- a/capa/rules.py +++ b/capa/rules.py @@ -221,7 +221,8 @@ def parse_description(s, value_type, description=None): if value_type != "string" and isinstance(s, six.string_types) and DESCRIPTION_SEPARATOR in s: if description: raise InvalidRule( - 'unexpected value: "%s", only one description allowed (inline description with `%s`)' % (s, DESCRIPTION_SEPARATOR) + 'unexpected value: "%s", only one description allowed (inline description with `%s`)' + % (s, DESCRIPTION_SEPARATOR) ) value, _, description = s.rpartition(DESCRIPTION_SEPARATOR) if description == "":