Always add tilde to atom check v2.1.4
authorMike Pagano <mpagano@gentoo.org>
Sun, 16 Dec 2012 17:47:21 +0000 (12:47 -0500)
committerMike Pagano <mpagano@gentoo.org>
Sun, 16 Dec 2012 17:47:21 +0000 (12:47 -0500)
portpeek

index cb90cc27fa36acbdaa8c4de2e75c51a751db2edd..45bdea730bc48f700a7713ec63ca643abb9b6d20 100755 (executable)
--- a/portpeek
+++ b/portpeek
@@ -16,7 +16,7 @@
 
 __author__ = "Michael Pagano"
 __email__ = "mpagano@gentoo.org"
-__version__ = "2.1.3"
+__version__ = "2.1.4"
 __productname__ = "portpeek"
 __description__ = "Displays user unmasked ebuilds and installable options from the portage tree"
 
@@ -168,7 +168,7 @@ def parse_line(line, filename):
     check_pkg = ""
     not_installed_pkgs = 0
     pkg_length = 0
-    atom_check="<>="
+    atom_check="<>=~"
     original_line = line
 
     # if the line has special characters, we need to make sure the original line is used for matching
@@ -178,9 +178,6 @@ def parse_line(line, filename):
         special_line = True
 
     print_output(debug,portage.output.blue("Analyzing line: " + line))
-       # determine if we are also check ~ prefixed code
-    if  (tilde == 1): 
-        atom_check="<>=~"
 
     diffs_found = False
     display_done = False