Skip to content

Commit 06e58a6

Browse files
wcharginnfelt
authored andcommitted
uploader: remove inoperative f-string (#3311)
Summary: This `f`-string has no interpolations, so it *can* be a normal string, and the Bazel target is marked `srcs_version = "PY2AND3"`, so it *must* be a normal string. Test Plan: This module now parses under Python 2: ``` python2 -c '__import__("ast").parse(__import__("sys").stdin.read())' \ <tensorboard/uploader/uploader_main.py ``` wchargin-branch: uploader-remove-fstring
1 parent 8800eee commit 06e58a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorboard/uploader/uploader_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ def execute(self, server_info, channel):
483483
if self.name is not None:
484484
logging.info("Set name to %r", self.name)
485485
if self.description is not None:
486-
logging.info(f"Set description to %r", repr(self.description))
486+
logging.info("Set description to %r", repr(self.description))
487487

488488

489489
class _ListIntent(_Intent):

0 commit comments

Comments
 (0)