diff --git a/sapl/layout.py b/sapl/layout.py index 78b2c4afa..573e2d904 100644 --- a/sapl/layout.py +++ b/sapl/layout.py @@ -4,12 +4,8 @@ from django.utils.translation import ugettext as _ def to_column(name_span): - try: - fieldname, span = name_span - except: - return name_span - else: - return Column(fieldname, css_class='large-%d' % span) + fieldname, span = name_span + return Column(fieldname, css_class='large-%d' % span) def to_row(names_spans):