allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kentontay...@apache.org
Subject [allura] 12/12: fixup! [#8273] Upgrade TG 2.3.0 Webob 1.3.1: pylons imports, some registry stuff, etc
Date Tue, 09 Apr 2019 17:02:47 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 1bd599c45f0c71cb91e688782ee45a5faeec4efa
Author: Dave Brondsema <dave@brondsema.net>
AuthorDate: Thu Apr 4 14:30:50 2019 -0400

    fixup! [#8273] Upgrade TG 2.3.0 Webob 1.3.1: pylons imports, some registry stuff, etc
---
 ForgeBlog/forgeblog/command/rssfeeds.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ForgeBlog/forgeblog/command/rssfeeds.py b/ForgeBlog/forgeblog/command/rssfeeds.py
index 3cce7f3..5ae5fee 100644
--- a/ForgeBlog/forgeblog/command/rssfeeds.py
+++ b/ForgeBlog/forgeblog/command/rssfeeds.py
@@ -54,6 +54,8 @@ class RssFeedsCommand(base.BlogCommand):
                       help='poster username')
 
     def command(self):
+        self.basic_setup()
+
         # If this script creates a new BlogPost, it will create an
         # activitystream activity for that post. During the saving of the
         # activity, User.url() will be called. This method defers to an
@@ -63,7 +65,6 @@ class RssFeedsCommand(base.BlogCommand):
         import webob
         tg.request_local.context.request = webob.Request.blank('/')
 
-        self.basic_setup()
         self.process_feed = exceptionless(
             None, log=allura_base.log)(self.process_feed)
         self.process_entry = exceptionless(


Mime
View raw message