diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-09-25 03:29:54 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-09-25 03:29:54 +0000 |
commit | 940779ee1638db9b823e669b5070169e264538bf (patch) | |
tree | 004fba8a0b507da35c519346c6bcc9d818276365 | |
parent | fcb82c635ed472a0df480142c0446ee4057d31ae (diff) | |
download | portage-940779ee1638db9b823e669b5070169e264538bf.tar.gz portage-940779ee1638db9b823e669b5070169e264538bf.tar.bz2 portage-940779ee1638db9b823e669b5070169e264538bf.zip |
Remove unnecessary dict.has_key() call (fix for python 3).
svn path=/main/trunk/; revision=14418
-rw-r--r-- | pym/portage/update.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pym/portage/update.py b/pym/portage/update.py index 5e6937d44..c2f8f3006 100644 --- a/pym/portage/update.py +++ b/pym/portage/update.py @@ -227,8 +227,6 @@ def update_config_files(config_root, protect, protect_mask, update_iter): mode='r', encoding=_encodings['content'], errors='replace').readlines() except IOError: - if file_contents.has_key(x): - del file_contents[x] continue # update /etc/portage/packages.* |