allura
修訂 | 48962138e79c15c5c17f45d559a52b0b0d4d6a15 (tree) |
---|---|
時間 | 2012-06-29 00:34:36 |
作者 | Tim Van Steenburgh <tvansteenburgh@gmai...> |
Commiter | Tim Van Steenburgh |
[#4458] Fix undefined name.
Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>
@@ -60,7 +60,7 @@ class ForgeActivityController(BaseController): | ||
60 | 60 | def index(self, **kw): |
61 | 61 | activity_enabled = asbool(config.get('activitystream.enabled', False)) |
62 | 62 | if not activity_enabled: |
63 | - raise HTTPNotFound() | |
63 | + raise exc.HTTPNotFound() | |
64 | 64 | |
65 | 65 | c.follow_toggle = W.follow_toggle |
66 | 66 | followee = c.project |
@@ -74,7 +74,7 @@ class ForgeActivityController(BaseController): | ||
74 | 74 | def follow(self, follow, **kw): |
75 | 75 | activity_enabled = asbool(config.get('activitystream.enabled', False)) |
76 | 76 | if not activity_enabled: |
77 | - raise HTTPNotFound() | |
77 | + raise exc.HTTPNotFound() | |
78 | 78 | |
79 | 79 | require_authenticated() |
80 | 80 | followee = c.project |