From 5eb49f840142c5f5b9ca6de0d264a820e195f378 Mon Sep 17 00:00:00 2001 From: Perry Myers Date: Nov 14 2008 15:31:17 +0000 Subject: Fixed bug that causes appliance-creator to stacktrace when -i is omitted Signed-off-by: Perry Myers --- 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: