string help ..

Omegis spam1 at omegis.com
Sun Apr 11 09:47:33 EDT 2004


Hello,
I'm a sustem admin on a linux box,
long time ago we got a new system panel to manage the apache 
configuration files,
from a nice guy that biuld it for us,
as time go by the "nice" guy gone and i need to update something very 
small in the script ...

today i have a check for php_value string in the httpd.conf file with 
this line:
self.phpvalues = self.phpvalues = re.compile("^\s*php_value\s+(.*)$", 
re.M).findall(string)

i need line to check also for "php_admin_value"
i really dont know a lot in python so its a problem for me to do this 
alone ...

thanks Alot for you help.
Rotem



More information about the Python-list mailing list