From f5d3c9d28196a1678647fe3239fa3eaf633e6c41 Mon Sep 17 00:00:00 2001 From: substantialnoninfringinguser Date: Wed, 13 May 2009 05:15:05 +0100 Subject: [PATCH] [svn] Fix edit conflict screwup Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8041 by aaron @ 10/27/2008 6:12 PM --- parsers/cavetab.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/parsers/cavetab.py b/parsers/cavetab.py index b4df13e..0bdac72 100644 --- a/parsers/cavetab.py +++ b/parsers/cavetab.py @@ -4,11 +4,8 @@ import settings import expo.models as models import csv import time -<<<<<<< .mine + #import sqlite3 -======= -# import sqlite3 ->>>>>>> .r8038 import re import os @@ -65,13 +62,8 @@ caveReader = csv.reader(cavetab) caveReader.next() # Strip out column headers -<<<<<<< .mine -def save(x): #There seems to be an intermitent problem with sqlite and Vista, uncomment the lines below and the "import sqlite3" above to fix it -# try: -======= def save(x): #There seems to be an intermitent problem with sqlite and Vista, uncomment the lines below, and the import sqlite3 statment above to fix it # try: ->>>>>>> .r8038 x.save() # except sqlite3.OperationalError: # print "Error"