mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 02:01:31 +00:00
in-line doc edit: s/pyutil/allmydata.util/
This commit is contained in:
parent
094b687d6e
commit
a431811011
@ -48,11 +48,11 @@ def precondition(___cond=False, *___args, **___kwargs):
|
||||
msgbuf.append("%s: %s %s" % ((___kwargs.items()[0][0],) + tuple(map(hr, (___kwargs.items()[0][1], type(___kwargs.items()[0][1]),)))))
|
||||
msgbuf.extend([", %s: %s %s" % tuple(map(hr, (k, v, type(v),))) for k, v in ___kwargs.items()[1:]])
|
||||
except Exception, le:
|
||||
log.msg("assertutil.precondition(): INTERNAL ERROR IN pyutil.assertutil. %s %s %s" % (type(le), repr(le), le.args,))
|
||||
log.msg("assertutil.precondition(): INTERNAL ERROR IN allmydata.util.assertutil. %s %s %s" % (type(le), repr(le), le.args,))
|
||||
log.err()
|
||||
raise le
|
||||
except:
|
||||
log.msg("assertutil.precondition(): INTERNAL ERROR IN pyutil.assertutil.")
|
||||
log.msg("assertutil.precondition(): INTERNAL ERROR IN allmydata.util.assertutil.")
|
||||
log.err()
|
||||
raise
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user