forked from github/pelican
Convert FEED settings from %s to {slug} redux (#2432)
* Convert FEED settings from `%s` to `{slug}` redux
Closes #2106, Closes #2383
This commit is contained in:
parent
682b0b6711
commit
3a0add4b6e
10 changed files with 165 additions and 102 deletions
|
|
@ -60,7 +60,7 @@ which you map the signals to your plugin logic. Let's take a simple example::
|
|||
from pelican import signals
|
||||
|
||||
def test(sender):
|
||||
print "%s initialized !!" % sender
|
||||
print("{} initialized !!".format(sender))
|
||||
|
||||
def register():
|
||||
signals.initialized.connect(test)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue