[lorax][PATCH] fix version query and add one to the log file

Brian C. Lane bcl at redhat.com
Wed Apr 3 22:42:21 UTC 2013


On Wed, Apr 03, 2013 at 03:32:25PM -0500, Mark Hamzy wrote:
> Fix "lorax -V" and add a "version is ???" to the log file so we can easily know
> what version of lorax is used to build an iso.
> Changed to try/import for versioning because the version file is autogenerated.
> 
> ---
>  src/pylorax/__init__.py | 10 ++++++++++
>  src/sbin/lorax          | 18 +++++++++++++-----
>  2 files changed, 23 insertions(+), 5 deletions(-)


> +
> +        logger.debug("version is {0}".format (vernum))
>          logger.debug("using work directory {0.workdir}".format(self))
>          logger.debug("using log directory {0}".format(logdir))

No space after format. I'll fix it when I push it.

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/20130403/aea6ed78/attachment.sig>


More information about the anaconda-patches mailing list