diff options
author | Sebastian Luther <SebastianLuther@gmx.de> | 2010-08-12 12:29:05 +0200 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-12 03:40:45 -0700 |
commit | 6d0831c89ac150f1df196895f41b39d88265001d (patch) | |
tree | 90110b560aabd08d217955f34a6a0692f83ff354 | |
parent | 1df3eec53768c882f8747af4bb706642c50891d0 (diff) | |
download | portage-6d0831c89ac150f1df196895f41b39d88265001d.tar.gz portage-6d0831c89ac150f1df196895f41b39d88265001d.tar.bz2 portage-6d0831c89ac150f1df196895f41b39d88265001d.zip |
Tests: Fix typo bug ResolverPlayground
-rw-r--r-- | pym/portage/tests/resolver/ResolverPlayground.py | 4 |
1 files 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) |