mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-01-18 00:42:38 +00:00
[svn r8236] make work
This commit is contained in:
parent
047e259551
commit
08ea56019d
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user