Re: [firstboot] Fixed the eula module to show Red Hat license (#563734)

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/03/2010 02:42 AM, Martin Gracik wrote:

> +        try:
> +            path = glob.glob("/usr/share/doc/redhat-release*/EULA")[0]
> +        except IndexError:
> +            lines = "No license file\n"
> +        else:
> +            lines = open(path).readlines()

It might be useful to tell where it was looking for the license file
when it failed.

- -- 
Brian C. Lane <bcl@xxxxxxxxxx>
Red Hat / Port Orchard, WA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEVAwUBS98CmRF+jBaO/jp/AQL2Igf/b3HoRS4PshGZ8MOZOtTUrS96rBQG0UR6
XAJVot4E7/e8NzZq/vHLRhpinchauFMdWs8ry6pW639jCbeptHk3hzpiD1tw0asO
gSwuBytZZsv43PC80kz9kuFS10/p2BHKniAqOCrbjZesXOKDvsPsiiYUGHfi2d2e
Ii54QQDZeZXv4vxOA+5irlPIWmcJW5SBSE3Py9mMH46BpynHTITHF5R3xFlsd6ZY
uWlhHVg8S8/PZUA04EskrZsan+unu5wznzAMP7+lDU/GVcsNIMwTtoYQ6TurQls4
qrmYpH11YtCvvetMdFVUCdNwl3sPFi/X/DAuFhOhxElHiJja8/ASzw==
=D7ad
-----END PGP SIGNATURE-----

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux