Reviewed: https://review.openstack.org/56547 Committed: http://github.com/openstack/horizon/commit/b6eb9a2480a82cf93f7a62e9c7373feddc8296fe Submitter: Jenkins Branch: master
commit b6eb9a2480a82cf93f7a62e9c7373feddc8296fe Author: Radomir Dopieralski <[email protected]> Date: Fri Nov 15 10:04:31 2013 +0100 Remove asserts for optional imports Horizon's __init__.py has some code that explicitly allows it to be imported by setup.py before Django is set up, by making import failures just throw a warning instead of an exception. But that code is defeated by a bunch of asserts that were added later, that just make the error even more confusing. I'm removing the asserts and replacing them with __all__. Closes-bug: #1210253 Change-Id: I0fde7810a033fd7216da9a5460f5e4e323b4d6e9 ** Changed in: horizon Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1210253 Title: With Havana 2 installed, Launching horizon UI results in the error " NameError: name 'Dashboard' is not defined" To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1210253/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
