public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Александр Берсенев" <bay@hackerdom.ru>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/autodep:master commit in: portage_with_autodep/pym/_emerge/
Date: Sun, 21 Aug 2011 18:50:37 +0000 (UTC)	[thread overview]
Message-ID: <ceda17612f4fa2037c80eddcaa6696cb30f7ad01.bay@gentoo> (raw)

commit:     ceda17612f4fa2037c80eddcaa6696cb30f7ad01
Author:     Alexander Bersenev <bay <AT> hackerdom <DOT> ru>
AuthorDate: Sun Aug 21 22:03:33 2011 +0000
Commit:     Александр Берсенев <bay <AT> hackerdom <DOT> ru>
CommitDate: Sun Aug 21 22:03:33 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/autodep.git;a=commit;h=ceda1761

python 2.6 compatibility

---
 portage_with_autodep/pym/_emerge/EventsAnalyser.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/portage_with_autodep/pym/_emerge/EventsAnalyser.py b/portage_with_autodep/pym/_emerge/EventsAnalyser.py
index eb2c943..a0562aa 100644
--- a/portage_with_autodep/pym/_emerge/EventsAnalyser.py
+++ b/portage_with_autodep/pym/_emerge/EventsAnalyser.py
@@ -267,21 +267,21 @@ class FilterProcGenerator:
 		
 		system_packages=portageutils.get_system_packages_list()
 
-		allfiles=GentoolkitUtils.get_all_packages_files()
+		allfiles=GentoolkitUtils().get_all_packages_files()
 		portage.util.writemsg("All files list recieved, waiting for " \
 			"a list of allowed files\n")
 
 
 		allowedpkgs=system_packages+list(deps_portage)+list(deps_all)	
 		
-		allowedfiles=GentoolkitUtils.getfilesbypackages(allowedpkgs)
+		allowedfiles=GentoolkitUtils().getfilesbypackages(allowedpkgs)
 		#for pkg in allowedpkgs:
 		#	allowedfiles+=GentoolkitUtils.getfilesbypackage(pkg)
 
 		#import pdb; pdb.set_trace()
 
 		# manually add all python interpreters to this list
-		allowedfiles+=GentoolkitUtils.getfilesbypackages(['python'])
+		allowedfiles+=GentoolkitUtils().getfilesbypackages(['python'])
 		allowedfiles=set(allowedfiles)
 		
 		deniedfiles=allfiles-allowedfiles
@@ -318,7 +318,7 @@ class EventsAnalyser:
 			filenames=filenames.union(fail_events)
 		filenames=list(filenames)
 
-		file_to_package=GentoolkitUtils.getpackagesbyfiles(filenames)
+		file_to_package=GentoolkitUtils().getpackagesbyfiles(filenames)
 		# This part is completly unreadable. 
 		# It converting one complex struct(returned by getfsevents) to another complex
 		# struct which good for generating output.



             reply	other threads:[~2011-08-21 18:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-21 18:50 Александр Берсенев [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-08-21 18:50 [gentoo-commits] proj/autodep:master commit in: portage_with_autodep/pym/_emerge/ Александр Берсенев
2011-09-30 15:05 Александр Берсенев
2011-10-03 19:44 Александр Берсенев
2011-10-15 10:46 Александр Берсенев

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ceda17612f4fa2037c80eddcaa6696cb30f7ad01.bay@gentoo \
    --to=bay@hackerdom.ru \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox