#1427 Fix typo in getArchiveTypes docstring
Merged 4 years ago by mikem. Opened 4 years ago by jcupova.

file modified
+1 -1
@@ -6167,7 +6167,7 @@ 

      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'))

This PR fixes a typo mistake in getArchiveTypes docstring.

Why add the newline?

For short docstrings like this one, PEP8 recommends having the closing quotes on the same line.

1 new commit added

  • Drop new line
4 years ago

A newline is dropped now.

1 new commit added

  • Increase koji version
4 years ago

2 new commits added

  • Drop new line
  • Fix typo in getArchiveTypes dosctring
4 years ago

Commit 65e23af fixes this pull-request

Pull-Request has been merged by mikem

4 years ago