diff bitten/upgrades.py @ 683:0c4fec90c8e2

0.6dev: Update all tools and docs to use the new `http://bitten.edgewall.org/tools/` namespace as default. Old namespace will still work, but a notice appears when editing config if deprecated namespace is in use. Both will work for now, though. Also added a notice if the configuration is not enabled (easy to forget from edit mode now that 'save' reloads the same page). Closes #445.
author osimons
date Fri, 11 Sep 2009 21:02:13 +0000
parents 5467873fc0dc
children 0d7d6552477e
line wrap: on
line diff
--- a/bitten/upgrades.py
+++ b/bitten/upgrades.py
@@ -245,10 +245,10 @@
     messages and report data."""
 
     mapping = {
-        'pipe': 'http://bitten.cmlenz.net/tools/sh#pipe',
-        'make': 'http://bitten.cmlenz.net/tools/c#make',
-        'distutils': 'http://bitten.cmlenz.net/tools/python#distutils',
-        'exec_': 'http://bitten.cmlenz.net/tools/python#exec' # Ambigious
+        'pipe': 'http://bitten.edgewall.org/tools/sh#pipe',
+        'make': 'http://bitten.edgewall.org/tools/c#make',
+        'distutils': 'http://bitten.edgewall.org/tools/python#distutils',
+        'exec_': 'http://bitten.edgewall.org/tools/python#exec' # Ambigious
     }
     cursor = db.cursor()
     cursor.execute("SELECT id,generator FROM bitten_log "
@@ -259,9 +259,9 @@
                        "WHERE id=%s", (mapping[generator], log_id))
 
     mapping = {
-        'unittest': 'http://bitten.cmlenz.net/tools/python#unittest',
-        'trace': 'http://bitten.cmlenz.net/tools/python#trace',
-        'pylint': 'http://bitten.cmlenz.net/tools/python#pylint'
+        'unittest': 'http://bitten.edgewall.org/tools/python#unittest',
+        'trace': 'http://bitten.edgewall.org/tools/python#trace',
+        'pylint': 'http://bitten.edgewall.org/tools/python#pylint'
     }
     cursor.execute("SELECT id,generator FROM bitten_report "
                    "WHERE generator IN (%s)"
Copyright (C) 2012-2017 Edgewall Software