URI: 
       tskip writing Valid-Until in Release files - amprolla - devuan's apt repo merger
  HTML git clone git://parazyd.org/amprolla.git
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit d5f5598c1dd9a45861ce37b4718c9052d9272867
   DIR parent dee8a7eed81cf069d7dbb5254dc2c097918c4a8c
  HTML Author: parazyd <parazyd@dyne.org>
       Date:   Wed, 28 Jun 2017 14:33:56 +0200
       
       skip writing Valid-Until in Release files
       
       Diffstat:
         M lib/release.py                      |       6 +++---
       
       1 file changed, 3 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/lib/release.py b/lib/release.py
       t@@ -24,10 +24,10 @@ def write_release(oldrel, newrel, filelist, r, sign=True):
                * string to remove from the path of the hashed file
            """
            t1 = datetime.utcnow()
       -    t2 = datetime.utcnow() + timedelta(days=7)
       +    # t2 = datetime.utcnow() + timedelta(days=7)
        
            prettyt1 = t1.strftime('%a, %d %b %Y %H:%M:%S UTC')
       -    prettyt2 = t2.strftime('%a, %d %b %Y %H:%M:%S UTC')
       +    # prettyt2 = t2.strftime('%a, %d %b %Y %H:%M:%S UTC')
        
            old = open(oldrel).read()
            new = open(newrel, 'w')
       t@@ -35,7 +35,7 @@ def write_release(oldrel, newrel, filelist, r, sign=True):
            rel_cont = parse_release_head(old)
        
            rel_cont['Date'] = prettyt1
       -    rel_cont['Valid-Until'] = prettyt2
       +    # rel_cont['Valid-Until'] = prettyt2
        
            for k in release_keys:
                if k in rel_cont: