whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Require needed
Date Wed, 30 Dec 2020 17:04:10 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 36e2f51  Require needed
36e2f51 is described below

commit 36e2f515c392e9d6e8c6c8f0ecce6eaddeeb7fcc
Author: Sebb <sebb@apache.org>
AuthorDate: Wed Dec 30 17:04:01 2020 +0000

    Require needed
---
 lib/whimsy/asf/documents.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/whimsy/asf/documents.rb b/lib/whimsy/asf/documents.rb
index 75ed978..31e79b3 100644
--- a/lib/whimsy/asf/documents.rb
+++ b/lib/whimsy/asf/documents.rb
@@ -98,6 +98,7 @@ module ASF
       age = (Time.now - begin File.mtime(file) rescue 0 end).to_i
       if age > 600 # 5 minutes
         Wunderbar.warn "Updating listing #{file} #{age}"
+        require 'whimsy/asf/rack'
         ASF::Auth.decode(env = {})
         filerev, svnrev = ASF::SVN.updatelisting(iclas, env.user, env.password, false, cache_dir)
         if filerev && svnrev # it worked


Mime
View raw message