Modify ↓
Opened 16 years ago
Closed 16 years ago
#3255 closed defect (fixed)
Minor error in web_ui.py - 'warning' should be 'warnings'
Reported by: | Owned by: | osimons | |
---|---|---|---|
Priority: | normal | Component: | FullBlogPlugin |
Severity: | normal | Keywords: | |
Cc: | jhamell@… | Trac Release: | 0.11 |
Description
On duplicate post name, it appears the plugin attempts to notify the user of such, via warning message (web_ui.py, starting with line 222):
# Input verifications and warnings warnings = [] if command == 'create' and the_post.version: warning.append( ('', "A post named '%s' already exists. " % the_post.name)) 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)
Note: See
TracTickets for help on using
tickets.
(In [3892]) FullBlogPlugin: Typo.
warning
=>warnings
.Closes #3255 - thanks to jhamell for bug report.