commit: 9618ea9eed6e625b9086325f46c80479e82af433
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 7 04:18:13 2016 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu Jul 7 04:18:13 2016 +0000
URL: https://gitweb.gentoo.org/proj/R_overlay.git/commit/?id=9618ea9e
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(-)
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