From a179c573e87058476c7bbd9113f787c557c3b932 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 2 Nov 2017 08:10:22 +0100 Subject: profile: Add missing doc for want_manifest_in_directory() --- gemato/profile.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gemato/profile.py b/gemato/profile.py index e790604..3681bf1 100644 --- a/gemato/profile.py +++ b/gemato/profile.py @@ -22,6 +22,16 @@ class DefaultProfile(object): return 'DATA' def want_manifest_in_directory(self, relpath, dirnames, filenames): + """ + Determine whether a Manifest file is expected in the specified + directory. @relpath is the relative path to the directory, + @dirnames and @filenames list respectively all directories + and files directly underneath it. + + Should return True if Manifest is expected, False otherwise. + If True is returned and the directory does not contain a single + file of Manifest type, a new one will be created as 'Manifest'. + """ return False -- cgit v1.2.3