File "/home/pmcnett/ss/biz/ProductionOrderOpenings.py", line 99, in
set_hor_dividers
bizHorDividers.sort("position")
File "/home/pmcnett/dabo/dabo/biz/dBizobj.py", line 891, in sort
self._CurrentCursor.sort(col, ord, caseSensitive)
File "/home/pmcnett/dabo/dabo/db/dCursorMixin.py", line 476, in sort
raise dException.NoRecordsException, _("No rows to sort.")
dabo.dException.NoRecordsException: No rows to sort.
This would be easy to catch and handle in my code, but is this an
important exception to raise? I mean, the expected behavior when sorting
an empty cursor would be to still have an empty cursor. It seems
reasonable not to have to handle this exception.
Thoughts?
Paul
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]