Re: [PATCH flasher 1/2] Pre-calculate more in find_config_dir()

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

 



On Thu, Jun 13, 2013 at 11:05:49AM -0600, Stephen Warren wrote:
[...]
> diff --git a/tegra-uboot-flasher b/tegra-uboot-flasher
[...]
> @@ -80,11 +80,15 @@ def find_config_dir():
>          print 'Unknown config "%s"' % args.configname
>          sys.exit(1)
>  
> -    global boardname, socname, out_board_dir
> +    global config, boardname, board, socname, soc, out_board_dir, bct

That'll be a bit ugly to put in a tuple, so maybe you should stick with
globals after all.

Thierry

Attachment: pgptigCM3CMir.pgp
Description: PGP signature


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux