  
      try:
          if int(value) != 1:
              return plural_suffix
      except ValueError: # invalid string that's not a number
          pass
      except TypeError: # value isn't a string or a number; maybe it's a list?
          try:
              if len(value) != 1:
                  return plural_suffix
 
</s> remove     except TypeError: # value isn't a string or a number; maybe it's a list?
 </s> add     except TypeError: # Value isn't a string or a number; maybe it's a list? </s> remove         except TypeError: # len() of unsized object
 </s> add         except TypeError: # len() of unsized object. </s> remove     except ValueError: # unpack list of wrong size (no "maybe" value provided)
 </s> add     except ValueError:
        # Unpack list of wrong size (no "maybe" value provided). </s> remove     except ValueError: # invalid literal for int()
 </s> add     except ValueError: # Invalid literal for int(). </s> remove     Argument: Number of words to truncate after
 </s> add     Argument: Number of words to truncate after.
    except ValueError: # Invalid string that's not a number.
  
      try:
          if int(value) != 1:
              return plural_suffix
    except ValueError: # Invalid string that's not a number.
          pass
      except TypeError: # value isn't a string or a number; maybe it's a list?
          try:
              if len(value) != 1:
                  return plural_suffix
keep keep keep keep replace keep keep keep keep keep
 Style and import fixes.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6641 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/template/defaultfilters.py