[ovs-dev] [PATCH 1/3] ovsdb-idlc: Remove "sha" deprecation warning

Justin Pettit jpettit at nicira.com
Tue Nov 24 03:02:10 UTC 2009


The "sha" module was deprecated in Python 2.5 and calling ovsd-idlc prints
a warning in Python 2.6.  The module is not actually being used, so this
just removes the offending import.
---
 ovsdb/ovsdb-idlc.in |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/ovsdb/ovsdb-idlc.in b/ovsdb/ovsdb-idlc.in
index 2cde35e..681cba5 100755
--- a/ovsdb/ovsdb-idlc.in
+++ b/ovsdb/ovsdb-idlc.in
@@ -2,7 +2,6 @@
 
 import getopt
 import re
-import sha
 import sys
 
 sys.path.insert(0, "@abs_top_srcdir@/ovsdb")
-- 
1.6.4





More information about the dev mailing list