JumpAvg: Fix string format 03/34903/2
authorVratko Polak <vrpolak@cisco.com>
Fri, 14 Jan 2022 09:16:23 +0000 (10:16 +0100)
committerVratko Polak <vrpolak@cisco.com>
Fri, 14 Jan 2022 09:16:23 +0000 (10:16 +0100)
Change-Id: Id3975dfcca0040b799f31dcd14789d8c90993b14
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
resources/libraries/python/jumpavg/BitCountingGroupList.py

index aed1304..6a1c86b 100644 (file)
@@ -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:
 # 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
         """
         :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.
 
     def __repr__(self):
         """Return string executable as Python constructor call.