From e73b75c6d14ef77b81ecaf547122bf9c91d09626 Mon Sep 17 00:00:00 2001 From: Jana Cupova Date: May 14 2019 07:58:43 +0000 Subject: [PATCH 1/2] Fix typo in getArchiveTypes dosctring --- diff --git a/hub/kojihub.py b/hub/kojihub.py index d9ff32f..10c6c96 100644 --- a/hub/kojihub.py +++ b/hub/kojihub.py @@ -6167,7 +6167,8 @@ def merge_scratch(task_id): return build['id'] def get_archive_types(): - """Return a list of all supported archivetypes""" + """Return a list of all supported archive types. + """ select = """SELECT id, name, description, extensions FROM archivetypes ORDER BY id""" return _multiRow(select, {}, ('id', 'name', 'description', 'extensions')) From fcf819dd3b002da221c40f7423b877908679d87a Mon Sep 17 00:00:00 2001 From: Jana Cupova Date: Jun 05 2019 05:57:46 +0000 Subject: [PATCH 2/2] Drop new line --- diff --git a/hub/kojihub.py b/hub/kojihub.py index 10c6c96..cf74ef3 100644 --- a/hub/kojihub.py +++ b/hub/kojihub.py @@ -6167,8 +6167,7 @@ def merge_scratch(task_id): return build['id'] def get_archive_types(): - """Return a list of all supported archive types. - """ + """Return a list of all supported archive types.""" select = """SELECT id, name, description, extensions FROM archivetypes ORDER BY id""" return _multiRow(select, {}, ('id', 'name', 'description', 'extensions'))