* Remove dependency on python in testbed.
* Update python version to 2.6.
* Spec wording improvements, clarifications, editorial changes, etc.
- * Many bugfixes.
+ * Many bugfixes, including:
+ - replace Python string exceptions (closes:#585226).
-- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 30 Jul 2011 15:44:15 +0100
xtra = ''
if p.spec is not None:
xtra = ' spec[%s]=%s' % (p.spec, getattr(p,'spec_tb',None))
- raise ("internal error: %s (%s)" % (how, str(p)))
+ raise Exception("internal error: %s (%s)" % (how, str(p)))
def _ensure_path(p, tbp):
if p.path[tbp] is None:
elif type(act) == str:
act = (act,act)
else:
- raise ("unknown action in list `%s' having"
+ raise Exception("unknown action in list `%s' having"
" type `%s'" % (act, type(act)))
(pathstr, kindpath) = act