[Git][reproducible-builds/diffoscope][master] run black (fixes FTBFS #1031433)

FC Stegerman (@obfusk) gitlab at salsa.debian.org
Fri Feb 17 14:16:02 UTC 2023



FC Stegerman pushed to branch master at Reproducible Builds / diffoscope


Commits:
f48fbe61 by FC Stegerman at 2023-02-17T14:55:35+01:00
run black (fixes FTBFS #1031433)

- - - - -


2 changed files:

- diffoscope/logging.py
- tests/comparators/test_sockets.py


Changes:

=====================================
diffoscope/logging.py
=====================================
@@ -26,7 +26,6 @@ import sys
 def line_eraser(fd=sys.stderr) -> bytes:
     eraser = b""  # avoid None to avoid 'NoneType + str/bytes' failures
     if fd.isatty():
-
         curses.setupterm(fd=fd.fileno())
         eraser = curses.tigetstr("el")
 


=====================================
tests/comparators/test_sockets.py
=====================================
@@ -56,7 +56,7 @@ def endpoints(tmpdir):
         map(makename, ["socket1", "socket2", "pipe1", "pipe2"]),
     )
     yield [(name, f(name)) for (f, name) in test_points]
-    for (_, name) in test_points:
+    for _, name in test_points:
         os.remove(name)
 
 



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/f48fbe616dbb7dc2f67fc6b4f7245ed92ade5ca5

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/f48fbe616dbb7dc2f67fc6b4f7245ed92ade5ca5
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20230217/0f8a6aea/attachment.htm>


More information about the rb-commits mailing list