From 6d0831c89ac150f1df196895f41b39d88265001d Mon Sep 17 00:00:00 2001 From: Sebastian Luther Date: Thu, 12 Aug 2010 12:29:05 +0200 Subject: [PATCH] Tests: Fix typo bug ResolverPlayground --- pym/portage/tests/resolver/ResolverPlayground.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/portage/tests/resolver/ResolverPlayground.py b/pym/portage/tests/resolver/ResolverPlayground.py index d1ec55b82..947c5c7ca 100644 --- a/pym/portage/tests/resolver/ResolverPlayground.py +++ b/pym/portage/tests/resolver/ResolverPlayground.py @@ -76,7 +76,7 @@ class ResolverPlayground(object): f.write('DEPEND="' + str(depend) + '"\n') if rdepend is not None: f.write('RDEPEND="' + str(rdepend) + '"\n') - if rdepend is not None: + if pdepend is not None: f.write('PDEPEND="' + str(pdepend) + '"\n') if required_use is not None: f.write('REQUIRED_USE="' + str(required_use) + '"\n') @@ -128,7 +128,7 @@ class ResolverPlayground(object): write_key("DEPEND", depend) if rdepend is not None: write_key("RDEPEND", rdepend) - if rdepend is not None: + if pdepend is not None: write_key("PDEPEND", pdepend) if required_use is not None: write_key("REQUIRED_USE", required_use) -- 2.26.2