Merge pull request #5669 from dhalbert/fix-blacken-update-formatting-issues
minor .py changes due to blacken update
This commit is contained in:
commit
b8ca1ce838
@ -17,7 +17,6 @@ if DEBUG:
|
||||
def dprint(*v):
|
||||
print(*v)
|
||||
|
||||
|
||||
else:
|
||||
|
||||
def dprint(*v):
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user