-
Committer:
Tarmac
-
Author(s):
kevin.mitchell at rackspace
-
Date:
2011-06-17 20:40:28 UTC
-
mfrom:
(1187.2.4 lp795123)
-
Revision ID:
tarmac-20110617204028-rtxgkjhtpk25kjb6
Fixes two minor bugs (lp795123 and lp795126) in the extension mechanism. The first bug is that each extension has _check_extension() called twice on it; this is a minor cosmetic problem, but the second is that extensions which flunk _check_extension() are still added. The proposed fix is to make _check_extensions() return True or False, then make _add_extension() call it from the top and return immediately if _check_extensions() returns False.