call the function glob.glob with an argument: string '/*' appended to self.default_locale_path converted into a string,
locale_dirs = filter ( os . path . isdir , glob . glob ( '%s/*' % self . default_locale_path ) )