[Thincrust-devel] [PATCH] Fixed bug that causes appliance-creator to stacktrace when -i is omitted
David Huff
dhuff at redhat.com
Fri Nov 14 16:02:34 UTC 2008
Perry Myers wrote:
> Signed-off-by: Perry Myers <pmyers at redhat.com>
> ---
> appcreate/appliance.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/appcreate/appliance.py b/appcreate/appliance.py
> index 294013a..e0fea1c 100644
> --- a/appcreate/appliance.py
> +++ b/appcreate/appliance.py
> @@ -294,7 +294,7 @@ class ApplianceImageCreator(ImageCreator):
> self._stage_final_image()
>
> #add stuff
> - if os.path.isdir(include):
> + if include and os.path.isdir(include):
> logging.debug("adding everything in %s to %s" % (include,self._outdir))
> files = glob.glob('%s/*' % include)
> for file in files:
committed...
More information about the Thincrust-devel
mailing list