Skip to content

Commit 89b4d50

Browse files
committed
drop Python 2-only logic
Only Python 3 is supported nowadays.
1 parent 17c4811 commit 89b4d50

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

check_versions.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
#!/usr/bin/env python
2-
# -*- coding: utf-8 -*- #
32

43
"""Make sure the installed versions all match what we need."""
54

6-
from __future__ import print_function
7-
85
import os
96
import pkg_resources
107

pelicanconf.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
#!/usr/bin/env python
2-
# -*- coding: utf-8 -*- #
3-
from __future__ import unicode_literals
42

5-
AUTHOR = u'libgd.org'
6-
SITENAME = u'GD Graphics Library'
3+
AUTHOR = 'libgd.org'
4+
SITENAME = 'GD Graphics Library'
75
SITEURL = ''
86

97
PATH = 'content'
108

119
TIMEZONE = 'Europe/Paris'
1210

13-
DEFAULT_LANG = u'en'
11+
DEFAULT_LANG = 'en'
1412

1513
# Blogroll
1614
LINKS = (

publishconf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/usr/bin/env python
2-
# -*- coding: utf-8 -*- #
3-
from __future__ import unicode_literals
42

5-
# This file is only used if you use `make publish` or
6-
# explicitly specify it as your config file.
3+
"""
4+
This file is only used if you use `make publish` or explicitly specify it as
5+
your config file.
6+
"""
77

88
import os
99
import sys

0 commit comments

Comments
 (0)