From: Sebastian Luther Date: Thu, 12 Aug 2010 10:29:05 +0000 (+0200) Subject: Tests: Fix typo bug ResolverPlayground X-Git-Tag: v2.2_rc68~267 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6d0831c89ac150f1df196895f41b39d88265001d;p=portage.git Tests: Fix typo bug ResolverPlayground --- 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)