Commit 201b58a1 authored by Nsukami Patrick's avatar Nsukami Patrick
Browse files

autopep8: fix E305 expected 2 blank lines, found 1

parent 18aafab69b67
......@@ -42,6 +42,7 @@ def daytype_choices(form, field, limit=None):
rset = req.execute(u'Any D,DT WHERE D is Daytype, D title DT')
return [(e.view('combobox'), unicode(e.eid)) for e in rset.entities()]
_affk = uicfg.autoform_field_kwargs
_affk.tag_subject_of(('Timeperiod', 'day_type', '*'),
{'choices': daytype_choices})
......
......@@ -23,6 +23,7 @@ class AutomaticWebTest(AutomaticWebTest):
def list_startup_views(self):
return ()
if __name__ == '__main__':
import unittest
unittest.main()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment