Alon Bar-Lev has uploaded a new change for review. Change subject: core: support resolve None as file ......................................................................
core: support resolve None as file Change-Id: Ie27949f3b7ef75236adb67be8c1b38fd981ec75f Signed-off-by: Alon Bar-Lev <[email protected]> --- M src/otopi/context.py 1 file changed, 3 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/otopi refs/changes/95/18195/1 diff --git a/src/otopi/context.py b/src/otopi/context.py index 85c80a0..8eb479f 100644 --- a/src/otopi/context.py +++ b/src/otopi/context.py @@ -392,7 +392,9 @@ def resolveFile(self, file): """Resolve file based on installer execution directory""" - if os.path.isabs(file): + if file is None: + return None + elif os.path.isabs(file): return file else: return os.path.join( -- To view, visit http://gerrit.ovirt.org/18195 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie27949f3b7ef75236adb67be8c1b38fd981ec75f Gerrit-PatchSet: 1 Gerrit-Project: otopi Gerrit-Branch: master Gerrit-Owner: Alon Bar-Lev <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
