• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


Commit MetaInfo

修訂48962138e79c15c5c17f45d559a52b0b0d4d6a15 (tree)
時間2012-06-29 00:34:36
作者Tim Van Steenburgh <tvansteenburgh@gmai...>
CommiterTim Van Steenburgh

Log Message

[#4458] Fix undefined name.

Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>

Change Summary

差異

--- a/ForgeActivity/forgeactivity/main.py
+++ b/ForgeActivity/forgeactivity/main.py
@@ -60,7 +60,7 @@ class ForgeActivityController(BaseController):
6060 def index(self, **kw):
6161 activity_enabled = asbool(config.get('activitystream.enabled', False))
6262 if not activity_enabled:
63- raise HTTPNotFound()
63+ raise exc.HTTPNotFound()
6464
6565 c.follow_toggle = W.follow_toggle
6666 followee = c.project
@@ -74,7 +74,7 @@ class ForgeActivityController(BaseController):
7474 def follow(self, follow, **kw):
7575 activity_enabled = asbool(config.get('activitystream.enabled', False))
7676 if not activity_enabled:
77- raise HTTPNotFound()
77+ raise exc.HTTPNotFound()
7878
7979 require_authenticated()
8080 followee = c.project