aboutsummaryrefslogtreecommitdiff
path: root/infra/build_specified_commit.py
diff options
context:
space:
mode:
authorjonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>2021-08-11 11:09:24 -0700
committerGitHub <noreply@github.com>2021-08-11 11:09:24 -0700
commit7942bb4491a59cf1c1aece279bcd7687e05f7513 (patch)
tree1c466ca96751ea161213bc779d39c29942cde89c /infra/build_specified_commit.py
parentede1fb13ae3646462e9d330de2733876bb220055 (diff)
downloadoss-fuzz-7942bb4491a59cf1c1aece279bcd7687e05f7513.tar.gz
[helper] Change logging from error to info (#6200)
Diffstat (limited to 'infra/build_specified_commit.py')
-rw-r--r--infra/build_specified_commit.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/infra/build_specified_commit.py b/infra/build_specified_commit.py
index 4768275e1..d7b667004 100644
--- a/infra/build_specified_commit.py
+++ b/infra/build_specified_commit.py
@@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-"""Module to build a image from a specific commit, branch or pull request
+"""Module to build a image from a specific commit, branch or pull request.
This module is allows each of the OSS Fuzz projects fuzzers to be built
from a specific point in time. This feature can be used for implementations
@@ -298,10 +298,9 @@ def detect_main_repo(project_name, repo_name=None, commit=None):
project_name: The name of the oss-fuzz project.
repo_name: The name of the main repo in an OSS-Fuzz project.
commit: A commit SHA that is associated with the main repo.
- src_dir: The location of the projects source on the docker image.
Returns:
- The repo's origin, the repo's path.
+ A tuple containing (the repo's origin, the repo's path).
"""
if not repo_name and not commit: