[gimp-web/testing] Add schumaml date from GIMP_VERSIONS patch to wgo



commit 73138f242c5a7fedde580e72696c68f2897f784e
Author: Pat David <patdavid gmail com>
Date:   Sat May 13 09:54:28 2017 -0500

    Add schumaml date from GIMP_VERSIONS patch to wgo
    
    This just adds the relevant sections from schumamls patch
    to parse the RELEASE_DATE from the GIMP_VERSIONS file to
    the pelicanconf.py for wgo

 pelicanconf.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/pelicanconf.py b/pelicanconf.py
index cfc3235..4e817f8 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -139,6 +139,11 @@ if 'STABLE' in GIMP:
     # hence, .keys()[0]
     GIMP_VERSION = GIMP['STABLE'].keys()[0]
     for version, info in GIMP['STABLE'].iteritems() :
+        if 'date' in info:
+            try:
+                RELEASE_DATE
+            except NameError:
+                RELEASE_DATE = info['date']
         if 'windows' in info: 
             try:
                 WINDOWS_FILE


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]