def hashDictOneLevel(myDict):
keys = [str(x) for x in myDict.keys()]<EOL>keys.sort()<EOL>lst = []<EOL>for key in keys:<EOL><INDENT>lst.append(str(myDict[key]) + '<STR_LIT>')<EOL><DEDENT>return '<STR_LIT>'.join(lst).__hash__()<EOL>
A function which can generate a hash of a one-level 
  dict containing strings (like REDIS_CONNECTION_PARAMS)

@param myDict <dict> - Dict with string keys and values

@return <long> - Hash of myDict