Skip to content

Instantly share code, notes, and snippets.

@hub-cap
Created May 22, 2013 17:06
Show Gist options
  • Select an option

  • Save hub-cap/5629195 to your computer and use it in GitHub Desktop.

Select an option

Save hub-cap/5629195 to your computer and use it in GitHub Desktop.
--- a/reddwarf/extensions/mysql/common.py
+++ b/reddwarf/extensions/mysql/common.py
@@ -52,7 +52,7 @@ def populate_users(users):
def unquote_user_host(user_hostname):
- unquoted = unquote(user_hostname)
+ unquoted = unquote(user_hostname).replace("\\.", ".")
if '@' not in unquoted:
return unquoted, '%'
if unquoted.endswith('@'):
diff --git a/tools/pip-requires b/tools/pip-requires
index 94a76cd..f29bdee 100644
--- a/tools/pip-requires
+++ b/tools/pip-requires
@@ -2,7 +2,7 @@ SQLAlchemy>=0.7.8,<=0.7.9
eventlet
extras
kombu==1.5.1
-routes
+routes>=1.13
WebOb
PasteDeploy
paste
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment