#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
from threading import *
from StringIO import StringIO
-import sys, traceback, thread, profile
+import sys, traceback, thread
from offlineimap.ui import UIBase # for getglobalui()
profiledir = None
if not profiledir: # normal case
Thread.run(self)
else:
+ import profile
prof = profile.Profile()
try:
prof = prof.runctx("Thread.run(self)", globals(), locals())