diff options
Diffstat (limited to 'main/models.py')
-rw-r--r-- | main/models.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/models.py b/main/models.py index ef8f6cd1..333becca 100644 --- a/main/models.py +++ b/main/models.py @@ -235,11 +235,11 @@ class Package(models.Model): if len(pkgs) == 0: # couldn't find a package in the DB # it should be a virtual depend (or a removed package) - deps.append((None, dep.depname, None)) + deps.append({'dep': dep, 'pkg': None}) continue else: - for p in pkgs: - deps.append((p.id,dep.depname,dep.depvcmp)) + for pkg in pkgs: + deps.append({'dep': dep, 'pkg': pkg}) return deps class PackageFile(models.Model): |