changeset 781:4538dfbaa3a4

Added re import (required for worst-case fallback) - see #426
author dfraser
date Wed, 28 Apr 2010 11:59:53 +0000
parents d29499a4450c
children 15e26246cc0a
files bitten/util/json.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/util/json.py
+++ b/bitten/util/json.py
@@ -20,6 +20,8 @@
 # If that's not present, we have a copy of the to_json method, which we will remove once Trac 0.11 support is removed
 # And finally, the to_json method requires trac.util.text.javascript_quote, which is only present from Trac 0.11.3, so we have a copy of that too
 
+import re
+
 try:
     # to_json is present from Trac 0.12 onwards - should remove once Trac 0.11 support is removed
     from trac.util.presentation import to_json
Copyright (C) 2012-2017 Edgewall Software