Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Commit

Permalink
fixing a unit test failure resulted because of python version-specifi…
Browse files Browse the repository at this point in the history
…c issue
  • Loading branch information
Sayli Karmarkar committed Mar 5, 2015
1 parent b0a6f50 commit 7f90654
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client_lib/pulp/client/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def _initialize_logging(verbose=None):
"""
@return: configured cli logger
"""
cli_log_handler = logging.StreamHandler(stream=sys.stderr)
cli_log_handler = logging.StreamHandler(sys.stderr)
cli_log_handler.setFormatter(logging.Formatter('%(asctime)s - %(levelname)s - %(message)s'))

cli_logger = logging.getLogger('pulp')
Expand Down Expand Up @@ -190,7 +190,7 @@ def _create_bindings(config, cli_logger, username, password, verbose=None):

api_logger = None
if verbose and verbose > 1:
api_log_handler = logging.StreamHandler(stream=sys.stderr)
api_log_handler = logging.StreamHandler(sys.stderr)
api_log_handler.setFormatter(logging.Formatter('%(asctime)s - %(levelname)s - %(message)s'))

api_logger = logging.getLogger('call_log')
Expand Down

0 comments on commit 7f90654

Please sign in to comment.