aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2022-01-14 10:16:23 +0100
committerVratko Polak <vrpolak@cisco.com>2022-01-14 10:16:23 +0100
commit7a9fb52cf7a272405405875a758f7397f8a512a8 (patch)
tree3de8321caa4590b74e1b2415f7e5b23bce244a25
parent5cae594d55623cd357d02592546da00c82089f72 (diff)
JumpAvg: Fix string format
Change-Id: Id3975dfcca0040b799f31dcd14789d8c90993b14 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
-rw-r--r--resources/libraries/python/jumpavg/BitCountingGroupList.py4
1 files 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.