Re: [PATCH 18/34] lsusb.py: use 'elif' where suitable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 06, 2019 at 12:02:25PM +0300, Mantas Mikulėnas wrote:
> Signed-off-by: Mantas Mikulėnas <grawity@xxxxxxxxx>
> ---
>  lsusb.py.in | 29 ++++++++++++-----------------
>  1 file changed, 12 insertions(+), 17 deletions(-)
> 
> diff --git a/lsusb.py.in b/lsusb.py.in
> index f19401c..74d8c8d 100644
> --- a/lsusb.py.in
> +++ b/lsusb.py.in
> @@ -12,7 +12,10 @@
>  
>  # Py2 compat
>  from __future__ import print_function
> -import os, sys, re, getopt
> +import getopt
> +import os
> +import re
> +import sys
>  
>  # Global options
>  showint = False

That change wasn't part of the "elif" changes, but it's ok, you've done
a lot here :)




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux