Commit 3606fa94 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_cloud: Remove useless code.

parent e4969519
...@@ -25,17 +25,6 @@ empty_parameter = """<?xml version="1.0" encoding="utf-8"?> ...@@ -25,17 +25,6 @@ empty_parameter = """<?xml version="1.0" encoding="utf-8"?>
empty_parameter2 = """<?xml version='1.0' encoding='utf-8'?> empty_parameter2 = """<?xml version='1.0' encoding='utf-8'?>
<instance/>""" <instance/>"""
# XXX Hardcode default parameter
if (instance_xml == empty_parameter) or (instance_xml.startswith(empty_parameter2)):
if software_release_url_string == "http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/erp5-frontend:/software/erp5/software.cfg":
instance_xml = """<?xml version="1.0" encoding="utf-8"?>
<instance>
<parameter id="frontend-instance-guid">SOFTINST-9238</parameter>
<parameter id="frontend-software-url">http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/apache-frontend/software.cfg</parameter>
</instance>
"""
hosting_subscription_portal_type = "Hosting Subscription" hosting_subscription_portal_type = "Hosting Subscription"
tag = "%s_%s_inProgress" % (person.getUid(), tag = "%s_%s_inProgress" % (person.getUid(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment