[gimp-web/migrate/py3] Add object_paris_hook to pelicanconf.py also
- From: Pat David <patdavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/migrate/py3] Add object_paris_hook to pelicanconf.py also
- Date: Tue, 16 Jul 2019 02:06:36 +0000 (UTC)
commit b0c4afc2e4f55c153134b8d860dd63b329df5463
Author: Pat David <patdavid gmail com>
Date: Mon Jul 15 21:06:26 2019 -0500
Add object_paris_hook to pelicanconf.py also
pelicanconf.local.py | 2 +-
pelicanconf.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pelicanconf.local.py b/pelicanconf.local.py
index a12b1200..8e5db33d 100644
--- a/pelicanconf.local.py
+++ b/pelicanconf.local.py
@@ -154,7 +154,7 @@ CACHE_CONTENT = True
import json
from collections import OrderedDict
with open('GIMP_VERSIONS') as data:
- GIMP = json.load(data,object_hook=OrderedDict, object_pairs_hook=OrderedDict)
+ GIMP = json.load(data, object_pairs_hook=OrderedDict)
if 'STABLE' in GIMP:
# Set the current stable GIMP version from
diff --git a/pelicanconf.py b/pelicanconf.py
index e8119491..7853b172 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -140,7 +140,7 @@ RELATIVE_URLS = False
import json
from collections import OrderedDict
with open('GIMP_VERSIONS') as data:
- GIMP = json.load(data)
+ GIMP = json.load(data, object_pairs_hook=OrderedDict)
if 'STABLE' in GIMP:
# Set the current stable GIMP version from
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]