mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Use .format()
instead
This commit is contained in:
parent
df4f69c575
commit
75c29e7d51
1 changed files with 2 additions and 6 deletions
|
@ -264,12 +264,8 @@ next_release_dir = "" # path on web server for next release branch
|
|||
today = ""
|
||||
copyright = ""
|
||||
if on_saltstack:
|
||||
today = (
|
||||
"Generated on "
|
||||
+ time.strftime("%B %d, %Y")
|
||||
+ " at "
|
||||
+ time.strftime("%X %Z")
|
||||
+ "."
|
||||
today = "Generated on {} at {}.".format(
|
||||
time.strftime("%B %d, %Y"), time.strftime("%X %Z")
|
||||
)
|
||||
copyright = time.strftime("%Y")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue