[PATCH] Get rid of the now-unused new_firmware variable.

Brian C. Lane bcl at redhat.com
Mon Sep 9 23:37:37 UTC 2013


On Mon, Sep 09, 2013 at 04:22:17PM -0400, Chris Lumens wrote:
> ---
>  pyanaconda/packaging/__init__.py | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/pyanaconda/packaging/__init__.py b/pyanaconda/packaging/__init__.py
> index 155d8dd..48d4cbd 100644
> --- a/pyanaconda/packaging/__init__.py
> +++ b/pyanaconda/packaging/__init__.py
> @@ -540,8 +540,6 @@ class Payload(object):
>      def _copyDriverDiskFiles(self):
>          import glob
>  
> -        new_firmware = False
> -
>          # Multiple driver disks may be loaded, so we need to glob for all
>          # the firmware files in the common DD firmware directory
>          for f in glob.glob(DD_FIRMWARE+"/*"):
> @@ -549,8 +547,6 @@ class Payload(object):
>                  shutil.copyfile(f, "%s/lib/firmware/" % ROOT_PATH)
>              except IOError as e:
>                  log.error("Could not copy firmware file %s: %s", f, e.strerror)
> -            else:
> -                new_firmware = True
>  
>          #copy RPMS
>          for d in glob.glob(DD_RPMS):
> -- 
> 1.8.1.2

oops. Ack.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20130909/bb82143e/attachment.sig>


More information about the anaconda-patches mailing list