Add missing module and remove * from tilde query check v2.0.18
authorMike Pagano <mpagano@gentoo.org>
Wed, 1 Feb 2012 13:50:49 +0000 (08:50 -0500)
committerMike Pagano <mpagano@gentoo.org>
Wed, 1 Feb 2012 13:50:49 +0000 (08:50 -0500)
portpeek

index 9b2d4140f02691f7fb2d1a2bc888aedfc225d2fb..a475787b7a57fbf55183f1225377caf9e6342527 100755 (executable)
--- a/portpeek
+++ b/portpeek
 
 __author__ = "Michael Pagano"
 __email__ = "mpagano@gentoo.org"
-__version__ = "2.0.17"
+__version__ = "2.0.18"
 __productname__ = "portpeek"
 __description__ = "Displays user unmasked ebuilds and installable options from the portage tree"
 
-import sys, os, portage.output, fileinput, re
+import sys, os, portage.output, fileinput, re, gentoolkit
 from gentoolkit.versionmatch import VersionMatch,errors
 from portage.const import USER_CONFIG_PATH
 from portage.versions import catpkgsplit,pkgcmp,pkgsplit
@@ -656,7 +656,7 @@ def check_tilde_masked_pkg(package_name, filename):
     print_output(debug,portage.output.blue("check_tilde_maskd_pkg: orig_package-name is " + orig_package_name))
     print_output(debug,portage.output.blue("check_tilde_maskd_pkg: package_name is " + package_name))
 
-    query = Query(package_name+"*", True)
+    query = Query(package_name, True)
 
     packages = []
     try: