Removed unneeded code. Bump version for next release.
authorMike Pagano <mpagano@gentoo.org>
Thu, 26 Jan 2017 16:11:05 +0000 (11:11 -0500)
committerMike Pagano <mpagano@gentoo.org>
Thu, 26 Jan 2017 16:11:05 +0000 (11:11 -0500)
portpeek

index 5d60d8d..42f453c 100755 (executable)
--- a/portpeek
+++ b/portpeek
@@ -16,7 +16,7 @@
 
 __author__ = "Michael Pagano"
 __email__ = "mpagano@gentoo.org"
-__version__ = "2.1.22"
+__version__ = "2.1.23"
 __productname__ = "portpeek"
 __description__ = "Displays user unmasked ebuilds and installable options from the portage tree"
 
@@ -488,8 +488,6 @@ def parse_package_use(line, filename):
     diffs_found = False
     package_installed = False
     fields = line.replace("\t", " ").split(" ")
-    less_than = False
-    less_than_or_equal = False
 
     if len(fields) > 0:
         check_pkg = fields[0] # this could be one of <>=
@@ -502,11 +500,6 @@ def parse_package_use(line, filename):
         if check_pkg[0] not in atom_check:
             has_atom = False
         else:
-            if check_pkg[0] == '<':
-                less_than = True;
-                if check_pkg[1] == '=':
-                    less_than_or_equal = True
-
             check_pkg = check_pkg[1:]
             if check_pkg[0] in atom_check:
                 check_pkg = check_pkg[1:]