2
0
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:
substantialnoninfringinguser 2009-05-13 05:49:50 +01:00
parent 4a50e098a9
commit b4d82ddeea
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

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: