From 9618ea9eed6e625b9086325f46c80479e82af433 Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Thu, 7 Jul 2016 13:18:13 +0900 Subject: roverlay/db/distmap.py: call the wrapper for repo_name info.repo_name might be undefined. --- roverlay/db/distmap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roverlay') diff --git a/roverlay/db/distmap.py b/roverlay/db/distmap.py index 8562da1..7ca6099 100644 --- a/roverlay/db/distmap.py +++ b/roverlay/db/distmap.py @@ -404,7 +404,7 @@ class _DistMapBase ( roverlay.util.objects.PersistentContent ): if info is None: # new file, no revbump required return False - elif info.repo_name != package_info['origin'].name: + elif info.get_repo_name() != package_info['origin'].name: # don't revbump if repo names don't match, this likely results in # infinite revbumps if a package is available from more than one repo return False -- cgit v1.2.3-65-gdbad