Changeset 3892

Show
Ignore:
Timestamp:
06/25/08 10:40:16 (7 months ago)
Author:
osimons
Message:

FullBlogPlugin: Typo. warning => warnings.

Closes #3255 - thanks to jhamell for bug report.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • fullblogplugin/0.11/tracfullblog/web_ui.py

    r3823 r3892  
    223223                warnings = [] 
    224224                if command == 'create' and the_post.version: 
    225                     warning.append( 
    226                             ('', "A post named '%s' already exists. " % the_post.name)) 
     225                    warnings.append( 
     226                            ('', "A post named '%s' already exists. Reverting to default name." 
     227                                            % the_post.name)) 
    227228                    the_post = BlogPost(self.env, default_pagename) 
    228229                orig_author = the_post.author