mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-01-19 01:12:32 +00:00
[svn] make work
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8236 by julian @ 1/30/2009 5:40 PM
This commit is contained in:
parent
4a50e098a9
commit
b4d82ddeea
@ -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