Skip to content

Commit

Permalink
Update to v1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
HubTou authored Sep 26, 2021
1 parent 7f99f1e commit 9e53a25
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion License
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2021 Hubert Tournier
Copyright 2021+ Hubert Tournier

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Expand Down
5 changes: 4 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = pnu_b2bt
description = Back to Back Testing tool
long_description = file: README.md
long_description_content_type = text/markdown
version = 1.1.1
version = 1.1.2
license = BSD 3-Clause License
license_files = License
author = HubTou
Expand All @@ -23,6 +23,9 @@ classifiers =
Operating System :: Microsoft :: Windows
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Education :: Testing
Topic :: Software Development
Topic :: Software Development :: Testing
Expand Down
16 changes: 11 additions & 5 deletions src/b2bt/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
COLORAMA = False

# Version string used by the what(1) and ident(1) commands:
ID = "@(#) $Id: b2bt - back-to-back testing v1.1.1 (July 14, 2021) by Hubert Tournier $"
__version__ = "1.1.1"
ID = "@(#) $Id: b2bt - back-to-back testing v1.1.2 (September 26, 2021) by Hubert Tournier $"
__version__ = "1.1.2"

# Default parameters. Can be overcome by environment variables, then command line options
DEFAULT_TIMEOUT = 120.0
Expand All @@ -50,6 +50,14 @@
}


################################################################################
def initialize_debugging(program_name):
"""Debugging set up"""
console_log_format = program_name + ": %(levelname)s: %(message)s"
logging.basicConfig(format=console_log_format, level=logging.DEBUG)
logging.disable(logging.INFO)


################################################################################
def display_help():
"""Displays usage and help"""
Expand Down Expand Up @@ -661,10 +669,8 @@ def remind_command(same_command, command):
def main():
"""The program's main entry point"""
program_name = os.path.basename(sys.argv[0])
console_log_format = program_name + ": %(levelname)s: %(message)s"
logging.basicConfig(format=console_log_format, level=logging.DEBUG)
logging.disable(logging.INFO)

initialize_debugging(program_name)
process_environment_variables()
arguments = process_command_line()

Expand Down

0 comments on commit 9e53a25

Please sign in to comment.