From 181763070c2d3a28a452629f0167ce7eda255993 Mon Sep 17 00:00:00 2001 From: r4sas Date: Wed, 18 Sep 2019 10:22:58 +0000 Subject: [PATCH] remove unused import, replace comment definition Signed-off-by: r4sas --- pbincli/cli.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pbincli/cli.py b/pbincli/cli.py index 4f72194..14a0908 100755 --- a/pbincli/cli.py +++ b/pbincli/cli.py @@ -2,7 +2,7 @@ import os, sys, argparse import pbincli.actions -from pbincli.api import PrivateBin, Shortener +from pbincli.api import PrivateBin from pbincli.utils import PBinCLIException, validate_url CONFIG_PATHS = [os.path.join(".", "pbincli.conf", ), @@ -87,12 +87,11 @@ def main(): 'no_insecure_warning': False } - """Configuration preference order: - 1. Command line switches - 2. Environment variables - 3. Configuration file - 4. Default values below - """ + # Configuration preference order: + # 1. Command line switches + # 2. Environment variables + # 3. Configuration file + # 4. Default values below for p in CONFIG_PATHS: if os.path.exists(p):