# coding: utf-8

from __future__ import absolute_import
from __future__ import print_function

# These default configs are overriden based on
# command line arguments or environment variables

scheme = 'http'
server = 'localhost'
port = 8080
username = 'admin'
password = 'admin'
args = None

def print_request_and_response(res, *args, **kwargs):
    print("Request:", res.request.__dict__)
    print("Response:", res.__dict__)

def requests_opts():
    opts = {
        'auth': (username, password),
        'headers': {'X-Requested-By': 'Ambari'},
        }

    if args.verbose:
        opts['hooks'] = {
            'response': print_request_and_response,
            }

    return opts


@@ -131,43 +131,9 @@
 en b
-ased on%0A# command line arguments or
+y
  env
@@ -151,17 +151,16 @@
 riables%0A
-%0A
 scheme =

Correct an inline comment in config.py.