      if len(bits) == 3:
          if bits[2] == 'parsed':
              parsed = True
          else:
              raise TemplateSyntaxError, "Second (optional) argument to %s tag must be 'parsed'" % bits[0]
      return SsiNode(bits[1], parsed)
  ssi = register.tag(ssi)
  
  #@register.tag
  def load(parser, token):
 
</s> remove         raise TemplateSyntaxError, "'ssi' tag takes one argument: the path to the file to be included"
 </s> add         raise TemplateSyntaxError("'ssi' tag takes one argument: the path to"
                                  " the file to be included") </s> remove         raise TemplateSyntaxError, "second argument to 'regroup' tag must be 'by'"
 </s> add         raise TemplateSyntaxError("second argument to 'regroup' tag must be 'by'") </s> remove         raise TemplateSyntaxError, "next-to-last argument to 'regroup' tag must be 'as'"
 </s> add         raise TemplateSyntaxError("next-to-last argument to 'regroup' tag must"
                                  " be 'as'") </s> remove         raise TemplateSyntaxError, "Invalid templatetag argument: '%s'. Must be one of: %s" % \
            (tag, TemplateTagNode.mapping.keys())
 </s> add         raise TemplateSyntaxError("Invalid templatetag argument: '%s'."
                                  " Must be one of: %s" %
                                  (tag, TemplateTagNode.mapping.keys())) </s> remove         raise TemplateSyntaxError, "%r expected format is 'value as name'" % bits[0]
 </s> add         raise TemplateSyntaxError("%r expected format is 'value as name'" %
                                  bits[0])
            raise TemplateSyntaxError("Second (optional) argument to %s tag"
                                      " must be 'parsed'" % bits[0])
      if len(bits) == 3:
          if bits[2] == 'parsed':
              parsed = True
          else:
            raise TemplateSyntaxError("Second (optional) argument to %s tag"
                                      " must be 'parsed'" % bits[0])
      return SsiNode(bits[1], parsed)
  ssi = register.tag(ssi)
  
  #@register.tag
  def load(parser, token):
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/defaulttags.py