-----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