commit:     8ecc1b4d926d7bb1e53d615f31691da67640d767
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  3 12:38:44 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Aug  3 12:38:44 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/elfix.git;a=commit;h=8ecc1b4d

scripts/revdep-pax: rename 'maps' -> 'graph'

---
 pocs/link-graph/__pycache__/link_graph.cpython-33.pyc | Bin 6588 -> 0 bytes
 scripts/revdep-pax                                    |  12 ++++++------
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/pocs/link-graph/__pycache__/link_graph.cpython-33.pyc 
b/pocs/link-graph/__pycache__/link_graph.cpython-33.pyc
deleted file mode 100644
index 400f22e..0000000
Binary files a/pocs/link-graph/__pycache__/link_graph.cpython-33.pyc and 
/dev/null differ

diff --git a/scripts/revdep-pax b/scripts/revdep-pax
index 2d9de16..a718fd6 100755
--- a/scripts/revdep-pax
+++ b/scripts/revdep-pax
@@ -43,7 +43,7 @@ def get_input(prompt):
         return raw_input(prompt)
 
 
-class LinkMap:
+class LinkGraph:
 
     def __init__(self):
         """ Put all the NEEDED.ELF.2 files for all installed packages
@@ -203,7 +203,7 @@ class LinkMap:
 
         return object_reverse_linkings
 
-    def get_maps(self):
+    def get_graph(self):
         """ Generate the full forward and reverse links using the above 
functions """
 
         # After get_object_needed() and get_soname_needed(), both 
object_linkings and
@@ -231,7 +231,7 @@ def print_problems(sonames_missing_library):
 
 def run_forward(verbose):
     (object_linkings, object_reverse_linkings,
-     library2soname, soname2library) = LinkMap().get_maps()
+     library2soname, soname2library) = LinkGraph().get_graph()
 
     sonames_missing_library = []
 
@@ -279,7 +279,7 @@ def run_forward(verbose):
 
 def run_reverse(verbose, executable_only):
     (object_linkings, object_reverse_linkings,
-     library2soname, soname2library) = LinkMap().get_maps()
+     library2soname, soname2library) = LinkGraph().get_graph()
 
     shell_path = os.getenv('PATH').split(':')
 
@@ -402,7 +402,7 @@ def run_elf(elf, verbose, mark, allyes):
         return
 
     (object_linkings, object_reverse_linkings,
-     library2soname, soname2library) = LinkMap().get_maps()
+     library2soname, soname2library) = LinkGraph().get_graph()
 
     mismatched_libraries = []
 
@@ -465,7 +465,7 @@ def run_soname(name, verbose, use_soname, mark, allyes, 
executable_only):
     shell_path = os.getenv('PATH').split(':')
 
     (object_linkings, object_reverse_linkings,
-     library2soname, soname2library) = LinkMap().get_maps()
+     library2soname, soname2library) = LinkGraph().get_maps()
 
     if use_soname:
         soname = name

Reply via email to