Error in: Tutorial Building a Dashboard using Horizon
Bug #1388576 reported by
Fabrizio Fresco
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Low
|
Fabrizio Fresco |
Bug Description
In the view.py example, in this snippet:
--------
try:
marker = self.request.
return instances
except Exception:
return instances[]
-----------------
return instances[] is wrong because instances has not been defined.
Changed in openstack-manuals: | |
assignee: | nobody → Fabrizio Fresco (fabrizio-fresco) |
affects: | openstack-manuals → horizon |
Changed in horizon: | |
milestone: | none → kilo-1 |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | kilo-1 → 2015.1.0 |
To post a comment you must log in.
Looks like a typo to me, it probably meant to be "return []" for the exception. Nicely spotted, thanks!
https:/ /github. com/openstack/ horizon/ blob/master/ doc/source/ topics/ tutorial. rst