Add RC maturity in wapt.ini. This will deploy tested, but major upgrades
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

20 rader
679 B

#!/usr/bin/python
from setuphelpers import *
uninstallkey=[]
newmaturity = 'RC'
def install():
if not newmaturity in WAPT.maturities:
WAPT.maturities.append(newmaturity)
inifile_writestring(WAPT.config_filename,'global','maturities',','.join(WAPT.maturities))
def uninstall():
if newmaturity in WAPT.maturities:
WAPT.maturities.remove(newmaturity)
inifile_writestring(WAPT.config_filename,'global','maturities',','.join(WAPT.maturities))
if not inifile_readstring(WAPT.config_filename,'global','maturities',','.join(WAPT.maturities)) :
inifile_deleteoption(WAPT.config_filename,'global','maturities')