def getvalue(self, name=''):
            """ Return the value of an item inside the current key,
            given its name """
            
            try:
                if name:
                    return wreg.QueryValueEx(self._hkey, name)
                else:
                    return wreg.QueryValue(self._hkey, '')
            except (WindowsError, EnvironmentError), e:
                raise RegistryError, e
 Return the value of an item inside the current key,
            given its name 
recipes/Python/476229_YARW__Yet_Another_Registry/recipe-476229.py