From 7cbb30806aa6c31f83b02e8b102c986bad9042fb Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Mon, 6 Dec 2021 08:36:24 -0500 Subject: [PATCH] minor .py changes due to blacken update --- tests/extmod/utimeq1.py | 1 - tools/pydfu.py | 1 - 2 files changed, 2 deletions(-) diff --git a/tests/extmod/utimeq1.py b/tests/extmod/utimeq1.py index 234d7a31dd..ddbc969afb 100644 --- a/tests/extmod/utimeq1.py +++ b/tests/extmod/utimeq1.py @@ -17,7 +17,6 @@ if DEBUG: def dprint(*v): print(*v) - else: def dprint(*v): diff --git a/tools/pydfu.py b/tools/pydfu.py index 26e40f5613..ce34b08a58 100755 --- a/tools/pydfu.py +++ b/tools/pydfu.py @@ -83,7 +83,6 @@ if "length" in inspect.getfullargspec(usb.util.get_string).args: def get_string(dev, index): return usb.util.get_string(dev, 255, index) - else: # PyUSB 1.0.0.b2 dropped the length argument def get_string(dev, index):