[or-cvs] r12893: try to fix exception when STATUS_FILE is not configured. Aga (in bridgedb/trunk: . lib/bridgedb)
nickm at seul.org
nickm at seul.org
Fri Dec 21 05:46:37 UTC 2007
Author: nickm
Date: 2007-12-21 00:46:37 -0500 (Fri, 21 Dec 2007)
New Revision: 12893
Modified:
bridgedb/trunk/
bridgedb/trunk/lib/bridgedb/Main.py
Log:
r17300 at catbus: nickm | 2007-12-21 00:46:35 -0500
try to fix exception when STATUS_FILE is not configured. Again.
Property changes on: bridgedb/trunk
___________________________________________________________________
svk:merge ticket from /bridgedb/trunk [r17300] on 8246c3cf-6607-4228-993b-4d95d33730f1
Modified: bridgedb/trunk/lib/bridgedb/Main.py
===================================================================
--- bridgedb/trunk/lib/bridgedb/Main.py 2007-12-21 05:44:13 UTC (rev 12892)
+++ bridgedb/trunk/lib/bridgedb/Main.py 2007-12-21 05:46:37 UTC (rev 12893)
@@ -142,7 +142,7 @@
for key in ("RUN_IN_DIR", "DB_FILE", "DB_LOG_FILE", "MASTER_KEY_FILE",
"HTTPS_CERT_FILE", "HTTPS_KEY_FILE", "PIDFILE", "LOGFILE",
"STATUS_FILE"):
- v = getattr(cfg, key)
+ v = getattr(cfg, key, None)
if v:
setattr(cfg, key, os.path.expanduser(v))
More information about the tor-commits
mailing list