All pastes #624515 Raw Edit

Someone

public text v1 · immutable
·published 2007-07-18 10:18 UTC
rendered paste body
import ConfigParser

def get_param_conf():

    configfile = ConfigParser.ConfigParser()
    configfile.read('./compil.conf')

    return configfile

def get_svn_revision():

    get_param_conf()

    revision = configfile.get('EOLEPACK', 'REV')

    return revision

print get_svn_revision()