From 3d795fab1b11aee3778c6dfb19c530f6af8778b6 Mon Sep 17 00:00:00 2001 From: Adam Coddington Date: Sun, 17 May 2015 23:14:11 -0700 Subject: [PATCH] Remove logging configuration. --- pyicloud/cmdline.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pyicloud/cmdline.py b/pyicloud/cmdline.py index baff280..e7a1f70 100644 --- a/pyicloud/cmdline.py +++ b/pyicloud/cmdline.py @@ -6,7 +6,6 @@ command line scripts, and related. """ from __future__ import print_function import argparse -import logging import pickle import sys @@ -151,20 +150,11 @@ def main(args=None): default="", help="Save device data to a file in the current directory.", ) - parser.add_argument( - '--loglevel', - default='INFO', - help='Increase logging verbosity by specifying DEBUG' - ) command_line = parser.parse_args(args) if not command_line.username or not command_line.password: parser.error('No username or password supplied') - logging.basicConfig( - level=logging.getLevelName(command_line.loglevel) - ) - from pyicloud import PyiCloudService try: api = PyiCloudService(