From: david-sarah Date: Sun, 23 May 2010 22:11:57 +0000 (-0700) Subject: Suppress 'integer argument expected, got float' DeprecationWarning everywhere X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/%22doc.html/install.html?a=commitdiff_plain;h=aac94a8d89588d825e7946a36d0f3d5699ce1ade;p=tahoe-lafs%2Ftahoe-lafs.git Suppress 'integer argument expected, got float' DeprecationWarning everywhere --- diff --git a/src/allmydata/__init__.py b/src/allmydata/__init__.py index db62dd26..1f9a265b 100644 --- a/src/allmydata/__init__.py +++ b/src/allmydata/__init__.py @@ -35,6 +35,12 @@ finally: warnings.filters.pop() warnings.filters.pop() + +warnings.filterwarnings("ignore", category=DeprecationWarning, + message="integer argument expected, got float", + append=True) + + __version__ = "unknown" try: from allmydata._version import __version__