From: Frank Brehm Date: Fri, 24 Aug 2018 09:37:54 +0000 (+0200) Subject: Cleaning up X-Git-Tag: 0.9.8^2~5 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=b9d729449bc83176a7e3f7d7afa27bcc2b931c2d;p=pixelpark%2Fpuppetmaster-webhooks.git Cleaning up --- diff --git a/lib/webhooks/common.py b/lib/webhooks/common.py index 3604247..88da917 100644 --- a/lib/webhooks/common.py +++ b/lib/webhooks/common.py @@ -194,8 +194,8 @@ def to_bool(value): # ============================================================================= def is_sequence(arg): - if not isinstance(arg, collections.Sequence): - return False + if not isinstance(arg, collections.Sequence): + return False if hasattr(arg, "strip"): return False