chiark
/
gitweb
/
~naath
/
familyTree.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Oops, forgot to commit. Lots of faffing arround with graphs, graphs will be added...
[familyTree.git]
/
cgiFiles
/
listPeople.py
1
#!/usr/bin/python
2
3
import cgi
4
import cgitb
5
import sys
6
import re
7
sys.path.append('/home/naath/familyTreeProject/familyTree')
8
import askQuestion
9
import everyPage
10
11
[conn,form]=everyPage.top()
12
cgitb.enable()
13
14
result = 1
15
if result == None:
16
everyPage.bad()
17
else:
18
printMe = askQuestion.list_people('<br>')
19
if len(printMe)<10:
20
printMe = 'sorry, no data <br>'
21
22
everyPage.good(printMe)
23
24
25
everyPage.bottom(conn)
26