[haizea-commit] r482 - trunk/src/haizea/common
haizea-commit at mailman.cs.uchicago.edu
haizea-commit at mailman.cs.uchicago.edu
Sat Aug 30 14:45:54 CDT 2008
Author: borja
Date: 2008-08-30 14:45:54 -0500 (Sat, 30 Aug 2008)
New Revision: 482
Added:
trunk/src/haizea/common/defaults.py
Log:
Added defaults module to contain default values, instead of hardcoding them throughout the code
Added: trunk/src/haizea/common/defaults.py
===================================================================
--- trunk/src/haizea/common/defaults.py (rev 0)
+++ trunk/src/haizea/common/defaults.py 2008-08-30 19:45:54 UTC (rev 482)
@@ -0,0 +1,11 @@
+import os.path
+
+
+CONFIG_LOCATIONS = ["/etc/haizea.conf",
+ os.path.expanduser("~/.haizea/haizea.conf")]
+
+DAEMON_PIDFILE = "/var/tmp/haizea.pid"
+
+RPC_SERVER = "localhost"
+RPC_PORT = 42493
+RPC_URI = "http://%s:%i" % (RPC_SERVER, RPC_PORT)
\ No newline at end of file
More information about the Haizea-commit
mailing list