[Blends-commit] [SCM] website branch, master, updated. db9c1e9b14374e9552dba742ad3e4dc1a7b93e1f

Andreas Tille tille at debian.org
Thu Feb 7 21:38:17 UTC 2013


The following commit has been merged in the master branch:
commit db9c1e9b14374e9552dba742ad3e4dc1a7b93e1f
Author: Andreas Tille <tille at debian.org>
Date:   Thu Feb 7 22:37:52 2013 +0100

    Keep old stuff working to recreate bugs pages

diff --git a/webtools/blendstasktoolsold.py b/webtools/blendstasktoolsold.py
index fc6e5f0..ef7e572 100644
--- a/webtools/blendstasktoolsold.py
+++ b/webtools/blendstasktoolsold.py
@@ -13,7 +13,9 @@
 # or if it is not contained it obtains information
 # from tasks file about home page, license, WNPP etc.
 
-PORT=5452
+#PORT=5441
+UDDPORT=5452
+PORT=UDDPORT
 DEFAULTPORT=5432
 
 from sys import stderr, exit
@@ -229,7 +231,7 @@ try:
 except psycopg2.OperationalError:
     logger.debug("PostgreSQL does not seem to run on port %i .. trying default port %i." % (PORT, DEFAULTPORT))
     try:
-        conn = psycopg2.connect(host="localhost",port=DEFAULTPORT,user="guest",database="udd")
+        conn = psycopg2.connect(host="localhost",port=UDDPORT,user="guest",database="udd")
     except psycopg2.OperationalError:
 	# Hmmm, I observed a really strange behaviour on one of my machines where connecting to
 	# localhost does not work but 127.0.0.1 works fine.  No odea why ... but this should

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list