TrivialFix

Change-Id: I94fba94aea07f697173cceacf55358f04777aa2f
This commit is contained in:
Nguyen Hung Phuong 2016-08-17 14:23:53 +07:00
parent d668fcd81b
commit 21b723ede3
3 changed files with 3 additions and 3 deletions

View File

@ -623,7 +623,7 @@ class Dashboard(Registry, HorizonComponent):
def allowed(self, context): def allowed(self, context):
"""Checks for role based access for this dashboard. """Checks for role based access for this dashboard.
Checks for access to any panels in the dashboard and of the the Checks for access to any panels in the dashboard and of the
dashboard itself. dashboard itself.
This method should be overridden to return the result of This method should be overridden to return the result of

View File

@ -1052,7 +1052,7 @@ class DataTableOptions(object):
if len(self.data_types) > 1: if len(self.data_types) > 1:
self.mixed_data_type = True self.mixed_data_type = True
# However, if the mixed_data_type is set to True manually and the # However, if the mixed_data_type is set to True manually and
# the data_types is empty, raise an error. # the data_types is empty, raise an error.
if self.mixed_data_type and len(self.data_types) <= 1: if self.mixed_data_type and len(self.data_types) <= 1:
raise ValueError("If mixed_data_type is set to True in class %s, " raise ValueError("If mixed_data_type is set to True in class %s, "

View File

@ -396,7 +396,7 @@ class TabbedFormRegion(FormRegion):
"""Forms that are divided with tabs. """Forms that are divided with tabs.
As example is taken form under the As example is taken form under the
the Project/Network/Networks/Create Network, on initialization form needs Project/Network/Networks/Create Network, on initialization form needs
to have form field names divided into tuples, that represents the tabs to have form field names divided into tuples, that represents the tabs
and the fields located under them. and the fields located under them.