def setProperty(configFile, prop, value):
    '\n\tvoid setProperty(str, str, str)\n\t\n\tThis function searches a config file for the specified propery and updates its value if found.\n\tIf the specified property is not found, then a new line for the property will be created\n\t\n\tArgs:\n\t\tconfigFile: The configuration file to open and update\n\t\tprop: The property key to update \n\t\tvalue: The new value for the property\n\t\n\t'
    written = False
    with open(configFile) as inFile:
        (tmpHandle, outPath) = mkstemp()
        with fdopen(tmpHandle, 'w') as outFile:
            for line in inFile:
                if line.startswith(prop):
                    outFile.write((((prop + '=') + value) + '\n'))
                    written = True
                else:
                    outFile.write(line)
            if (not written):
                outFile.write((((prop + ':') + value) + '\n'))
    remove(configFile)
    move(outPath, configFile)
void setProperty(str, str, str)

This function searches a config file for the specified propery and updates its value if found.
If the specified property is not found, then a new line for the property will be created

Args:
        configFile: The configuration file to open and update
        prop: The property key to update 
        value: The new value for the property
def setProperty(configFile, prop, value):
    '\n\tvoid setProperty(str, str, str)\n\t\n\tThis function searches a config file for the specified propery and updates its value if found.\n\tIf the specified property is not found, then a new line for the property will be created\n\t\n\tArgs:\n\t\tconfigFile: The configuration file to open and update\n\t\tprop: The property key to update \n\t\tvalue: The new value for the property\n\t\n\t'
    written = False
    with open(configFile) as inFile:
        (tmpHandle, outPath) = mkstemp()
        with fdopen(tmpHandle, 'w') as outFile:
            for line in inFile:
                if line.startswith(prop):
                    outFile.write((((prop + '=') + value) + '\n'))
                    written = True
                else:
                    outFile.write(line)
            if (not written):
                outFile.write((((prop + ':') + value) + '\n'))
    remove(configFile)
    move(outPath, configFile)