projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e706f04
)
Suppress 'integer argument expected, got float' DeprecationWarning everywhere
author
david-sarah
<david-sarah@jacaranda.org>
Sun, 23 May 2010 22:11:57 +0000
(15:11 -0700)
committer
david-sarah
<david-sarah@jacaranda.org>
Sun, 23 May 2010 22:11:57 +0000
(15:11 -0700)
src/allmydata/__init__.py
patch
|
blob
|
history
diff --git
a/src/allmydata/__init__.py
b/src/allmydata/__init__.py
index db62dd26a03b9c54dd3cbcdd5403a17393f08c4f..1f9a265baca02a9ca63b436a705e3fe91ff0f53c 100644
(file)
--- 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__