[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r13061: Fix syntax error, and add a line about _how_ to run unit tes (in bridgedb/trunk: . lib/bridgedb)



Author: nickm
Date: 2008-01-07 15:58:07 -0500 (Mon, 07 Jan 2008)
New Revision: 13061

Modified:
   bridgedb/trunk/
   bridgedb/trunk/README
   bridgedb/trunk/lib/bridgedb/Main.py
Log:
 r17510@catbus:  nickm | 2008-01-07 15:25:40 -0500
 Fix syntax error, and add a line about _how_ to run unit tests to the readme so that it is easier to notice syntax errors.



Property changes on: bridgedb/trunk
___________________________________________________________________
 svk:merge ticket from /bridgedb/trunk [r17510] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: bridgedb/trunk/README
===================================================================
--- bridgedb/trunk/README	2008-01-07 20:03:27 UTC (rev 13060)
+++ bridgedb/trunk/README	2008-01-07 20:58:07 UTC (rev 13061)
@@ -2,6 +2,7 @@
 To set up:
  - Install Python 2.4 or later.
  - Install Twisted-Web, Twisted-Mail, PyOpenSSL, and all their dependencies.
+ - To run unit tests, "python setup.py test"
  - python setup.py install --prefix=$HOME
  - Edit bridgedb.conf; put it somewhere good.
  - Make sure that the input files referred to in bridgedb.conf exist.

Modified: bridgedb/trunk/lib/bridgedb/Main.py
===================================================================
--- bridgedb/trunk/lib/bridgedb/Main.py	2008-01-07 20:03:27 UTC (rev 13060)
+++ bridgedb/trunk/lib/bridgedb/Main.py	2008-01-07 20:58:07 UTC (rev 13061)
@@ -61,7 +61,7 @@
     EMAIL_DOMAIN_RULES = { 'gmail.com' : ["ignore_dots"],
                            'yahoo.com' : [] },
     EMAIL_RESTRICT_IPS=[],
-    EMAIL_BIND_IP=127.0.0.1,
+    EMAIL_BIND_IP="127.0.0.1",
     EMAIL_PORT=6725,
     EMAIL_N_BRIDGES_PER_ANSWER=2,