Opened 10 years ago

Closed 10 years ago

#3255 closed defect (fixed)

Minor error in - 'warning' should be 'warnings'

Reported by: jhamell@… Owned by: osimons
Priority: normal Component: FullBlogPlugin
Severity: normal Keywords:
Cc: jhamell@… Trac Release: 0.11


On duplicate post name, it appears the plugin attempts to notify the user of such, via warning message (, starting with line 222):

                # Input verifications and warnings
                warnings = []
                if command == 'create' and the_post.version:
                            ('', "A post named '%s' already exists. " %
                    the_post = BlogPost(self.env, default_pagename)

In the latest from SVN (3891), however, on line 225 I believe warning should be warnings.
Running Trac 0.11b2.

Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by osimons

Resolution: fixed
Status: newclosed

(In [3892]) FullBlogPlugin: Typo. warning => warnings.

Closes #3255 - thanks to jhamell for bug report.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain osimons.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.