* fix: NoneType bug. These should be initialized as empty lists.

This commit is contained in:
Faik Uygur
2006-08-25 09:13:25 +00:00
parent 7789ae5b40
commit 4e16e3c761
+2 -2
View File
@@ -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: