Browse Source

Remove unnecessary code

pull/6/head
Marcio Mazza 10 years ago
parent
commit
11527babc7
  1. 8
      sapl/layout.py

8
sapl/layout.py

@ -4,12 +4,8 @@ from django.utils.translation import ugettext as _
def to_column(name_span): def to_column(name_span):
try: fieldname, span = name_span
fieldname, span = name_span return Column(fieldname, css_class='large-%d' % span)
except:
return name_span
else:
return Column(fieldname, css_class='large-%d' % span)
def to_row(names_spans): def to_row(names_spans):

Loading…
Cancel
Save