[svn r8236] make work

This commit is contained in:
julian 2009-01-30 18:40:05 +01:00
parent 047e259551
commit 08ea56019d
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,8 @@
# -*- coding: utf-8 -*-
import sys
import settings
sys.path.append("/home/mjg/expoweb/troggle")
import expo.models as models
import settings as settings
import csv
import time
@ -286,4 +287,4 @@ def GetCaveLookup():
Gcavelookup["hauchhole"] = Gcavelookup["234"]
return Gcavelookup

View File

@ -84,7 +84,7 @@ def make_model(name, parent, iter_lines, sf, c, l):
survex_block = m,
role = models.Role.objects.get(name = roles[role])).save()
else:
print "no person", exp, sname, role
print ("no person", exp, sname, role)
except AttributeError:
print ("Person not found: " + name + " in " + file_ + " " + role).encode('ascii', 'xmlcharrefreplace')
except AssertionError, inst: