summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-02-21 09:57:44 +0000
committerZac Medico <zmedico@gentoo.org>2006-02-21 09:57:44 +0000
commit50c7cd7ee007e92f63ee8ef3be0ebb7a8a1e67de (patch)
tree7bc43298aff74032f53c4a2a0eb7d5af6c3d2ae9
parent5f8dfe70805ae23758bbb7a0ade3420684401293 (diff)
downloadportage-50c7cd7ee007e92f63ee8ef3be0ebb7a8a1e67de.tar.gz
portage-50c7cd7ee007e92f63ee8ef3be0ebb7a8a1e67de.tar.bz2
portage-50c7cd7ee007e92f63ee8ef3be0ebb7a8a1e67de.zip
Fix typo from revision 2758.v2.1_pre5_2761v2.1_pre5_2760
svn path=/main/trunk/; revision=2759
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 49f49ff89..3fcd3e951 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -6883,7 +6883,7 @@ def global_updates():
updpath = os.path.join(settings["PORTDIR"], "profiles", "updates")
mylist = listdir(updpath, EmptyOnError=1)
# validate the file name (filter out CVS directory, etc...)
- mylist = [myfile for myfile in mylist if len(myfile) == 7 and myfile[1:2] == "Q-"]
+ mylist = [myfile for myfile in mylist if len(myfile) == 7 and myfile[1:3] == "Q-"]
if len(mylist) > 0:
# resort the list
mylist = [myfile[3:]+"-"+myfile[:2] for myfile in mylist]