Remove unused function 'search_for_manifest' from the path package.

parent 072e51fd
......@@ -26,7 +26,6 @@ from __future__ import print_function
from __future__ import absolute_import
import os
import sys
import logging
import platform
......@@ -151,18 +150,6 @@ def compose(path, base=None):
os.path.join(base, path)))
def search_for_manifest(search_path):
"""
Look for manifest in the given folder
"""
logging.debug("Looking for manifest in " + search_path)
for filename in os.listdir(search_path):
if filename == "manifest.py" and not os.path.isdir(filename):
return os.path.abspath(os.path.join(search_path, filename))
# no manifest file found
return None
def flatten_list(sth):
"""Convert the argument in a list, being an empty list if none"""
if sth is not None:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment