summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-06 22:03:40 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-06 22:03:40 +0000
commit42b85c0d4bceb13489c5f12c9e24039c10b132c0 (patch)
tree841eb677ab90276e3568babc6181416226cb0eee
parent2c94aaf40f387016738b91c94992adb840ab08ba (diff)
downloadportage-42b85c0d4bceb13489c5f12c9e24039c10b132c0.tar.gz
portage-42b85c0d4bceb13489c5f12c9e24039c10b132c0.tar.bz2
portage-42b85c0d4bceb13489c5f12c9e24039c10b132c0.zip
In update_dbentries(), use != rather than "is not" to make sure that updates never occur unnecessarily.
svn path=/main/trunk/; revision=4607
-rw-r--r--pym/portage_update.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage_update.py b/pym/portage_update.py
index f96227789..5f5af809f 100644
--- a/pym/portage_update.py
+++ b/pym/portage_update.py
@@ -43,7 +43,7 @@ def update_dbentries(update_iter, mydata):
orig_content = mycontent
for update_cmd in update_iter:
mycontent = update_dbentry(update_cmd, mycontent)
- if mycontent is not orig_content:
+ if mycontent != orig_content:
updated_items[k] = mycontent
return updated_items