From 903a65d7f15d0e81fb622b7c42f93f9368bebbe5 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 9 Nov 2009 00:42:58 +0000 Subject: [PATCH] fix some imports --- Tools/scripts/db2pickle.py | 4 ++-- Tools/scripts/pickle2db.py | 4 ++-- Tools/scripts/redemo.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Tools/scripts/db2pickle.py b/Tools/scripts/db2pickle.py index 0c9b6bf38b6..9dd8bd3b72c 100644 --- a/Tools/scripts/db2pickle.py +++ b/Tools/scripts/db2pickle.py @@ -33,12 +33,12 @@ try: except ImportError: gdbm = None try: - import dbm as anydbm + import dbm.ndbm as anydbm except ImportError: anydbm = None import sys try: - import cPickle as pickle + import pickle as pickle except ImportError: import pickle diff --git a/Tools/scripts/pickle2db.py b/Tools/scripts/pickle2db.py index 357e6281096..a43ffae448e 100644 --- a/Tools/scripts/pickle2db.py +++ b/Tools/scripts/pickle2db.py @@ -38,12 +38,12 @@ try: except ImportError: gdbm = None try: - import dbm as anydbm + import dbm.ndbm as anydbm except ImportError: anydbm = None import sys try: - import cPickle as pickle + import pickle as pickle except ImportError: import pickle diff --git a/Tools/scripts/redemo.py b/Tools/scripts/redemo.py index b9bfb9668bf..52863324c2d 100644 --- a/Tools/scripts/redemo.py +++ b/Tools/scripts/redemo.py @@ -1,6 +1,6 @@ """Basic regular expression demostration facility (Perl style syntax).""" -from Tkinter import * +from tkinter import * import re class ReDemo: