From ee7e79b1a5776df616c21d1c65bc1caf01b9892f Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 28 Feb 2011 18:30:24 +0000 Subject: [PATCH] oops, properly do default values --- direct/src/p3d/pdeploy.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/direct/src/p3d/pdeploy.py b/direct/src/p3d/pdeploy.py index 2eb233b36f..ee1852099e 100644 --- a/direct/src/p3d/pdeploy.py +++ b/direct/src/p3d/pdeploy.py @@ -248,9 +248,12 @@ elif deploy_mode == 'installer': i = Installer(appFilename, shortname, fullname, version, tokens = tokens) i.licensename = licensename i.licensefile = licensefile - i.authorid = authorid - i.authorname = authorname - i.authoremail = authoremail + if authorid: + i.authorid = authorid + if authorname: + i.authorname = authorname + if authoremail: + i.authoremail = authoremail i.includeRequires = includeRequires if currentPlatform: