From 4951ece66d368a97d740eb1a4cedd1dc84e3e7a1 Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Mon, 14 Feb 2011 17:28:56 -0800 Subject: [PATCH] ovs-bugtool: Ignore deprecation warnings. Since we have to support many versions of Python, this commit forces ovs-bugtool to ignore deprecation warnings. They were complaining about use of the md5 module whose replacement does not appear until Python 2.5. In Python 2.7 deprecation warnings are ignored by default. Bug #4373 --- debian/ovs-bugtool | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/ovs-bugtool b/debian/ovs-bugtool index 9bdf289a..69fe78ae 100755 --- a/debian/ovs-bugtool +++ b/debian/ovs-bugtool @@ -33,6 +33,9 @@ # or func_output(). # +import warnings +warnings.filterwarnings(action="ignore", category=DeprecationWarning) + import getopt import re import os -- 2.30.2