Commit 1cbc556b authored by pp's avatar pp Committed by Tim Graham
Browse files

[1.9.x] Added missing period to "etc.".

Backport of b34ff66e from master
parent 27ef6403
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -227,7 +227,7 @@ class BaseDatabaseOperations(object):
    def lookup_cast(self, lookup_type, internal_type=None):
        """
        Returns the string to use in a query when performing lookups
        ("contains", "like", etc). The resulting string should contain a '%s'
        ("contains", "like", etc.). The resulting string should contain a '%s'
        placeholder for the column being searched against.
        """
        return "%s"
+1 −1
Original line number Diff line number Diff line
@@ -888,7 +888,7 @@ def yesno(value, arg=None):
def filesizeformat(bytes):
    """
    Formats the value like a 'human-readable' file size (i.e. 13 KB, 4.1 MB,
    102 bytes, etc).
    102 bytes, etc.).
    """
    try:
        bytes = float(bytes)
+1 −1
Original line number Diff line number Diff line
@@ -123,7 +123,7 @@ class Literal(TokenBase):
    """
    # IfParser uses Literal in create_var, but TemplateIfParser overrides
    # create_var so that a proper implementation that actually resolves
    # variables, filters etc is used.
    # variables, filters etc. is used.
    id = "literal"
    lbp = 0

+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ something like this::
        """A hand of cards (bridge style)"""

        def __init__(self, north, east, south, west):
            # Input parameters are lists of cards ('Ah', '9s', etc)
            # Input parameters are lists of cards ('Ah', '9s', etc.)
            self.north = north
            self.east = east
            self.south = south
+1 −1
Original line number Diff line number Diff line
@@ -221,7 +221,7 @@ When a mistaken commit is discovered, please follow these guidelines:

* If the original author can't be reached (within a reasonable amount
  of time -- a day or so) and the problem is severe -- crashing bug,
  major test failures, etc -- then ask for objections on the
  major test failures, etc. -- then ask for objections on the
  |django-developers| mailing list then revert if there are none.

* If the problem is small (a feature commit after feature freeze,
Loading