From 4e16e3c76172196eb7163bba0b22ac5674029beb Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Fri, 25 Aug 2006 09:13:25 +0000 Subject: [PATCH] * fix: NoneType bug. These should be initialized as empty lists. --- pisi/scenarioapi/repoops.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pisi/scenarioapi/repoops.py b/pisi/scenarioapi/repoops.py index bc8ca701..5b209ede 100644 --- a/pisi/scenarioapi/repoops.py +++ b/pisi/scenarioapi/repoops.py @@ -29,8 +29,8 @@ def repo_added_package(package, *args): raise Exception(_("Repo already has package named %s.") % package) version = "1.0" - dependencies = None - conflicts = None + dependencies = [] + conflicts = [] for with in args: if with.types == CONFLICT and with.action == INIT: