8000 lint · ethervoid/client_python@3688edd · GitHub
[go: up one dir, main page]

Skip to content

Commit 3688edd

Browse files
committed
lint
Signed-off-by: Sander Van de Moortel <sander.vandemoortel@gmail.com>
1 parent 0be4d06 commit 3688edd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prometheus_client/exposition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def write_to_textfile(path, registry):
276276
if os.name == 'posix':
277277
os.rename(tmppath, path)
278278
else:
279-
if sys.version_info <= (3,3):
279+
if sys.version_info <= (3, 3):
280280
# Unable to guarantee atomic rename on Windows and Python<3.3
281281
# Remove and rename instead (risks losing the file)
282282
os.remove(path)

0 commit comments

Comments
 (0)
0