applications: don't spam system log with system tools names (#177)

This commit is contained in:
monsta 2017-05-25 17:04:48 +03:00 committed by Clement Lefebvre
parent 27c4a837da
commit 1d739da691

View File

@ -1742,7 +1742,6 @@ class pluginclass( object ):
def find_applications_recursively(app_list, directory, catName): def find_applications_recursively(app_list, directory, catName):
for item in directory.get_contents(): for item in directory.get_contents():
if item.get_type() == matemenu.TYPE_ENTRY: if item.get_type() == matemenu.TYPE_ENTRY:
print "=======>>> " + str(item.name) + " = " + str(catName)
app_list.append( { "entry": item, "category": catName } ) app_list.append( { "entry": item, "category": catName } )
elif item.get_type() == matemenu.TYPE_DIRECTORY: elif item.get_type() == matemenu.TYPE_DIRECTORY:
find_applications_recursively(app_list, item, catName) find_applications_recursively(app_list, item, catName)