From: Zooko O'Whielacronx Date: Thu, 16 Aug 2007 21:10:48 +0000 (-0700) Subject: in-line doc edit: s/pyutil/allmydata.util/ X-Git-Url: https://git.rkrishnan.org/pf/content/it.html?a=commitdiff_plain;h=a4318110112c179f8b27023411dcf02a6c310a1f;p=tahoe-lafs%2Ftahoe-lafs.git in-line doc edit: s/pyutil/allmydata.util/ --- diff --git a/src/allmydata/util/assertutil.py b/src/allmydata/util/assertutil.py index 2adae8d6..277b2ce0 100644 --- a/src/allmydata/util/assertutil.py +++ b/src/allmydata/util/assertutil.py @@ -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