From: John H. <jdh...@ac...> - 2005-03-16 15:18:21
|
>>>>> "Natsu" == Natsu <nat...@ya...> writes: >> try: key, direc, any = _winreg.EnumValue( local, j) if not >> os.path.dirname(direc): direc = os.path.join(directory, direc) >> direc = os.path.abspath(direc).lower() if direc[-4:] == >> '.'+fontext: items[direc] = 1 except EnvironmentError: pass Thanks for the patch -- this will be in the next release. Natsu> The idea is taken from a Japanese blog. Natsu> http://somethingred.dip.jp/blog/239 Natsu> The author of the Blog seems to have some idea to patch Natsu> _winreg, also. Natsu> http://somethingred.dip.jp/blog/253 -- Natsu Mizutani Perhaps you can contact the winreg maintainers and let them know about this... Thanks! JDH |