Skip to content

Commit d56db54

Browse files
makeRecord tuple instead of any (#571)
* makeRecord tuple instead of any * 4.2.1
1 parent d24f6ee commit d56db54

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## moler 4.2.1
2+
* make_record - tuple instead of any
3+
14
## moler 4.2.0
25
* Unix command hostanamectl
36
* Unix command ip maddr

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![image](https://img.shields.io/badge/pypi-v4.2.0-blue.svg)](https://pypi.org/project/moler/)
1+
[![image](https://img.shields.io/badge/pypi-v4.2.1-blue.svg)](https://pypi.org/project/moler/)
22
[![image](https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue.svg)](https://pypi.org/project/moler/)
33
[![Build Status](https://github.com/nokia/moler/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/nokia/moler/actions)
44
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](./LICENSE)

moler/util/loghelper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def log_into_logger(logger, level, msg, extra=None, levels_to_go_up=0):
8787
fn, lno, func = find_caller(levels_to_go_up)
8888
except ValueError: # pragma: no cover
8989
fn, lno, func = "(unknown file)", 0, "(unknown function)"
90-
record = logger.makeRecord(logger.name, level, fn, lno, msg, [], None, func, extra)
90+
record = logger.makeRecord(logger.name, level, fn, lno, msg, (), None, func, extra)
9191
logger.handle(record)
9292

9393

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
setup(
1414
name='moler',
15-
version='4.2.0',
15+
version='4.2.1',
1616
description='Moler is a library for working with terminals, mainly for automated tests', # Required
1717
long_description=long_description,
1818
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)