From 7dc3f1b3b004bb50cd534832ec27b4fd9fbca18c Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Sat, 28 Oct 2006 12:30:30 +0000 Subject: [PATCH] Bugfix: releasing a program without a version-modifier on the interface gave a "Node does not exist in this context" error. git-svn-id: file:///home/talex/Backups/sf.net/Subversion/zero-install/trunk/0publish@1200 9f8c893c-44ee-0310-b757-c8ca8341c71e --- release.py | 1 + 1 file changed, 1 insertion(+) diff --git a/release.py b/release.py index 59e71f2..1ef7d93 100644 --- a/release.py +++ b/release.py @@ -60,6 +60,7 @@ def make_release(data, id, version, released, stability, main, arch): if arch is not None: x.setAttribute('arch', arch) if version is not None: x.setAttribute('version', version) + if x.hasAttribute('version-modifier'): x.removeAttribute('version-modifier') return doc.toxml() -- 2.11.4.GIT