def getSource(self, sourceKey, sourceTime=None):
if sourceKey not in self.re_sources:<EOL><INDENT>return None<EOL><DEDENT>if sourceTime is None:<EOL><INDENT>(yr, mth, dy, hr, mn, sec, wd, yd, isdst) = time.localtime()<EOL><DEDENT>else:<EOL><INDENT>(yr, mth, dy, hr, mn, sec, wd, yd, isdst) = sourceTime<EOL><DEDENT>defaults = {'<STR_LIT>': yr, '<STR_LIT>': mth, '<STR_LIT>': dy,<EOL>'<STR_LIT>': hr, '<STR_LIT>': mn, '<STR_LIT>': sec}<EOL>source = self.re_sources[sourceKey]<EOL>values = {}<EOL>for key, default in defaults.items():<EOL><INDENT>values[key] = source.get(key, default)<EOL><DEDENT>return (values['<STR_LIT>'], values['<STR_LIT>'], values['<STR_LIT>'],<EOL>values['<STR_LIT>'], values['<STR_LIT>'], values['<STR_LIT>'],<EOL>wd, yd, isdst)<EOL>
GetReturn a date/time tuple based on the giving source key
and the corresponding key found in self.re_sources.

The current time is used as the default and any specified
item found in self.re_sources is inserted into the value
and the generated dictionary is returned.