On Tue, Jul 12, 2011 at 09:09:56PM -0300, Marcelo Moreira de Mello wrote:
> ---
>  .../handlers/config/rhn_config_management.py       |    7 ++++++-
>  1 files changed, 6 insertions(+), 1 deletions(-)
> 
> diff --git a/backend/server/handlers/config/rhn_config_management.py 
> b/backend/server/handlers/config/rhn_config_management.py
> index f35b3e4..273cefd 100644
> --- a/backend/server/handlers/config/rhn_config_management.py
> +++ b/backend/server/handlers/config/rhn_config_management.py
> @@ -144,7 +144,12 @@ class 
> ConfigManagement(configFilesHandler.ConfigFilesHandler):
>                      break
>  
>                  path = row['path']
> -                result_hash[path] = (config_channel, path, 
> row['config_file_type_id'])
> +
> +                if not path in result_hash:
> +                    result_hash[path] = (config_channel, path, 
> row['config_file_type_id'])
> +
> +                if config_channel == str(self.server.getid()):
> +                    result_hash[path] = (config_channel, path, 
> row['config_file_type_id'])
>  
>          result = result_hash.values()
>          # Sort by path first since that's what the web site does

Committed to Spacewalk master, 46830082e095a9273ef2e5fe6fcd3a91eb14a952.

Tagged as spacewalk-backend-1.5.40-1.

Thank you,

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to