<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi,<br>
<br>
in lines 520-522 is a typo due editor copy of previous section.<br>
The code is working, but so clear for reading.<br>
Here the suggestion, original code commented out:<br>
<br>
<div style="margin-left: 40px; font-weight: bold;"><span
style="font-family: monospace;">if psycopg is None:
PsycopgTestCase.skip = "psycopg module not available"</span><br
style="font-family: monospace;">
<span style="font-family: monospace;">else:</span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> try:</span><br
style="font-family: monospace;">
<span style="font-family: monospace;"># conn =
psycopg.connect(database=PostgresTestCase.DB_NAME,</span><br
style="font-family: monospace;">
<span style="font-family: monospace;">#
user=PostgresTestCase.DB_USER,</span><br style="font-family: monospace;">
<span style="font-family: monospace;">#
password=PostgresTestCase.DB_PASS)</span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> conn =
psycopg.connect(database=PsycopgTestCase.DB_NAME,</span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
user=PsycopgTestCase.DB_USER,</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
password=PsycopgTestCase.DB_PASS)</span><br>
</div>
<br>
TWISTED IS SUPER !!!<br>
Paul
</body>
</html>