From 7a9fb52cf7a272405405875a758f7397f8a512a8 Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Fri, 14 Jan 2022 10:16:23 +0100 Subject: [PATCH] JumpAvg: Fix string format Change-Id: Id3975dfcca0040b799f31dcd14789d8c90993b14 Signed-off-by: Vratko Polak --- resources/libraries/python/jumpavg/BitCountingGroupList.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/libraries/python/jumpavg/BitCountingGroupList.py b/resources/libraries/python/jumpavg/BitCountingGroupList.py index aed1304d97..6a1c86baf2 100644 --- a/resources/libraries/python/jumpavg/BitCountingGroupList.py +++ b/resources/libraries/python/jumpavg/BitCountingGroupList.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: @@ -75,7 +75,7 @@ class BitCountingGroupList: :returns: Readable description. :rtype: str """ - return u"group_list={self.group_list} bits={self.bits}" + return f"group_list={self.group_list} bits={self.bits}" def __repr__(self): """Return string executable as Python constructor call. -- 2.16.6