Skip to content

Commit

Permalink
Merge pull request #34 from DMTF/1.0.4-Tagging
Browse files Browse the repository at this point in the history
1.0.4 Versioning
  • Loading branch information
mraineri authored Mar 13, 2020
2 parents 3820743 + a4dd124 commit 5a61367
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## [1.0.4] - 2020-03-13
- Added rf_logs.py utility for reading and displaying logs

## [1.0.3] - 2020-01-17
- Added rf_discover.py utility to discover Redfish services via SSDP

Expand Down
2 changes: 1 addition & 1 deletion redfish_utilities/logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def print_log_entries( log_entries, details = False ):
timestamp_property = "Created"
if "EventTimestamp" in entry:
timestamp_property = "EventTimestamp"
print( entry_line_format.format( entry["Id"], entry[timestamp_property], entry["Message"].replace( "\n", "; " )[:message_size] ) )
print( entry_line_format.format( entry["Id"], entry.get( timestamp_property, "Unknown" ), entry["Message"].replace( "\n", "; " )[:message_size] ) )
if details:
for detail in detail_list:
if detail in entry:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name = "redfish_utilities",
version = "1.0.3",
version = "1.0.4",
description = "Redfish Utilities",
long_description = long_description,
long_description_content_type = "text/markdown",
Expand Down

0 comments on commit 5a61367

Please sign in to comment.