aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2016-07-07 13:18:13 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-07-07 13:18:13 +0900
commit9618ea9eed6e625b9086325f46c80479e82af433 (patch)
treeb76b1e066367ffa7449cb5215bbe42a1c7c22606
parentR-packages.eclass: use default S. (diff)
downloadR_overlay-9618ea9eed6e625b9086325f46c80479e82af433.tar.gz
R_overlay-9618ea9eed6e625b9086325f46c80479e82af433.tar.bz2
R_overlay-9618ea9eed6e625b9086325f46c80479e82af433.zip
roverlay/db/distmap.py: call the wrapper for repo_name
info.repo_name might be undefined.
-rw-r--r--roverlay/db/distmap.py2
1 files changed, 1 insertions, 1 deletions
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