From 881bd5b9634ab77572d7064ebbc0ed3c65ece59e Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 21 Aug 2018 11:05:37 +0200 Subject: [PATCH] Applying some flake8 rules --- lib/webhooks/r10k.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/webhooks/r10k.py b/lib/webhooks/r10k.py index c154431..bc6c49c 100644 --- a/lib/webhooks/r10k.py +++ b/lib/webhooks/r10k.py @@ -16,7 +16,6 @@ import textwrap import locale import pipes import urllib.parse -import time import warnings # Third party modules @@ -25,7 +24,7 @@ import requests # Own modules import webhooks -from .common import pp, to_str, to_bool +from .common import to_str from .base_app import BaseHookApp @@ -269,7 +268,7 @@ class R10kHookApp(BaseHookApp): msg = "Got status code: {}.".format(response.status_code) if response.text: - msg += "\nOutput:\n{}".format(response.text) + msg += "\nOutput:\n{}".format(response.text) else: msg += " No output." LOG.warn(msg) -- 2.39.5