[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[snapshot/master] Raising a paste.httpexceptions.HTTPException is deprecated, use webob.exc.HTTPException instead



---
 web/app/snapshot/controllers/archive.py |    2 +-
 web/app/snapshot/lib/control_helpers.py |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/web/app/snapshot/controllers/archive.py b/web/app/snapshot/controllers/archive.py
index aa5f550..2d9c141 100644
--- a/web/app/snapshot/controllers/archive.py
+++ b/web/app/snapshot/controllers/archive.py
@@ -37,7 +37,7 @@ import error
 import errno
 from paste.request import construct_url
 from paste.fileapp import FileApp
-from paste.httpexceptions import HTTPMovedPermanently
+from webob.exc import HTTPMovedPermanently
 
 import wsgiref.handlers
 import time
diff --git a/web/app/snapshot/lib/control_helpers.py b/web/app/snapshot/lib/control_helpers.py
index 9002195..7259082 100644
--- a/web/app/snapshot/lib/control_helpers.py
+++ b/web/app/snapshot/lib/control_helpers.py
@@ -24,7 +24,6 @@ import logging
 from snapshot.lib.dbinstance import DBInstance
 from pylons import request, response
 from paste.request import construct_url
-from paste.httpexceptions import HTTPMovedPermanently
 import datetime
 from webob.exc import HTTPNotModified
 import urllib
-- 
1.7.2.5


Reply to: