diff options
author | Peter Mikus <pmikus@cisco.com> | 2022-02-22 08:47:48 +0100 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2022-02-22 08:05:03 +0000 |
commit | 8c86e67a300fa0626e8854defb825713a33ccec0 (patch) | |
tree | 450991fd4bc26495d13156c1523516c7b6277710 | |
parent | cfd08e30f9202703bc0af0159912899de2628446 (diff) |
fix(uti): Fixing broken code part VI
- Printing large sets makes no sense.
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: Ia4bf411368ca2424ad313b8e7bb0fb76cb175988
-rw-r--r-- | resources/libraries/python/model/export_json.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/resources/libraries/python/model/export_json.py b/resources/libraries/python/model/export_json.py index 4f1b86dbf4..b5d4328084 100644 --- a/resources/libraries/python/model/export_json.py +++ b/resources/libraries/python/model/export_json.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Cisco and/or its affiliates. +# Copyright (c) 2022 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -93,10 +93,7 @@ class export_json(): def warn_on_bad_export(self): """If bad state is detected, log a warning and clean up state.""" if self.raw_file_path is not None or self.raw_data is not None: - logger.warn( - f"Previous export not clean, path {self.raw_file_path}\n" - f"data: {self.raw_data}" - ) + logger.warn(f"Previous export not clean, path {self.raw_file_path}") self.raw_data = None self.raw_file_path = None |