1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

use !r formatting instead of quotes

This commit is contained in:
Kelly Brazil
2022-02-07 08:06:48 -08:00
parent 8611aff06b
commit f331f53a53
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ jc changelog
20220202 v1.18.3 20220202 v1.18.3
- Add rsync command and log file parser tested on linux and macOS - Add rsync command and log file parser tested on linux and macOS
- Add rsync command and log file streaming parser tested on linux and macOS - Add rsync command and log file streaming parser tested on linux and macOS
- Enhance timestamp performance with caching and format hints
- Refactor ignore_exceptions functionality in streaming parsers - Refactor ignore_exceptions functionality in streaming parsers
20220127 v1.18.2 20220127 v1.18.2

View File

@ -258,7 +258,7 @@ class timestamp:
self.utc = dt['timestamp_utc'] self.utc = dt['timestamp_utc']
def __repr__(self): def __repr__(self):
return f'timestamp(string="{self.string}", format={self.format}, naive={self.naive}, utc={self.utc})' return f'timestamp(string={self.string!r}, format={self.format}, naive={self.naive}, utc={self.utc})'
def _parse(self): def _parse(self):
""" """