summaryrefslogtreecommitdiff
path: root/portato/backend
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-03-27 08:50:37 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-03-27 08:50:37 +0100
commit5c7f8b376200e0a08ba298fa3faacacc97825a64 (patch)
tree06284e411b7359eb792ed4fcdd334d6ebedb9ee7 /portato/backend
parentcc1340671b0c719e0393cdeae5f1813635b19aa0 (diff)
downloadportato-5c7f8b376200e0a08ba298fa3faacacc97825a64.tar.gz
portato-5c7f8b376200e0a08ba298fa3faacacc97825a64.tar.bz2
portato-5c7f8b376200e0a08ba298fa3faacacc97825a64.zip
Allowed AllOf-deps inside or
Diffstat (limited to '')
-rw-r--r--portato/backend/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/portato/backend/package.py b/portato/backend/package.py
index 4d3803f..78a4b1f 100644
--- a/portato/backend/package.py
+++ b/portato/backend/package.py
@@ -177,6 +177,7 @@ class Package (_Package):
"""
deps = " ".join(map(self.get_package_settings, ("RDEPEND", "PDEPEND", "DEPEND")))
deps = paren_reduce(deps)
+ debug("Dependencies: %s", deps)
tree = DependencyTree()
@@ -193,9 +194,9 @@ class Package (_Package):
elif dep == "||":
n = iter.next() # skip
if not hasattr(n, "__iter__"):
- n = tuple(n,)
+ n = [n]
else:
- n = tuple(n)
+ n = list(n)
tree.add_or(n)