diff options
Diffstat (limited to 'baserockimport/lorryset.py')
-rw-r--r-- | baserockimport/lorryset.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/baserockimport/lorryset.py b/baserockimport/lorryset.py index eab3f47..d6cb9dd 100644 --- a/baserockimport/lorryset.py +++ b/baserockimport/lorryset.py @@ -110,7 +110,11 @@ class LorrySet(object): def find_lorry_for_package(self, kind, package_name): '''Find the lorry entry for a given package, or return None.''' - return self.data[package_name] if package_name in self.data else None + logging.debug('Lorry set: %s', str(list(self.data.iteritems()))) + + key = '%s/%s' % (kind, package_name) + logging.debug('key: %s', key) + return self.data[key] if key in self.data else None def _check_for_conflicts_in_standard_fields(self, existing, new): '''Ensure that two lorries for the same project do actually match.''' |