Skip to content

Commit f5dad1a

Browse files
bug fix for verbose logging
1 parent 3248b6f commit f5dad1a

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Diff for: CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
33

44
*The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).*
55

6+
## [3.5.2] - 2023-02-14
7+
### Changed
8+
- Fixed bug (from the 3.5.0 release) that caused a crash when using verbose logging.
9+
610
## [3.5.1] - 2023-02-11
711
### Changed
812
- Fixed a bug when handling default values from the command line with arguments defined as `action='store_true'` (create-change-history-table, auto-commit, verbose, and dry-run).

Diff for: schemachange/cli.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
#region Global Variables
2323
# metadata
24-
_schemachange_version = '3.5.1'
24+
_schemachange_version = '3.5.2'
2525
_config_file_name = 'schemachange-config.yml'
2626
_metadata_database_name = 'METADATA'
2727
_metadata_schema_name = 'SCHEMACHANGE'
@@ -541,7 +541,7 @@ def deploy_command(config):
541541
# check if there is a change of the checksum in the script
542542
if checksum_current == checksum_last:
543543
if config['verbose']:
544-
print(_log_skip_r.format(script=script))
544+
print(_log_skip_r.format(**script))
545545
scripts_skipped += 1
546546
continue
547547

Diff for: setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = schemachange
3-
version = 3.5.1
3+
version = 3.5.2
44
author = jamesweakley/jeremiahhansen
55
description = A Database Change Management tool for Snowflake
66
long_description = file: README.md

0 commit comments

Comments
 (0)