updated imports in tests
This commit is contained in:
+1
-1
@@ -307,7 +307,7 @@ class List(list):
|
||||
if not value and otherwise:
|
||||
raise ValueError('Otherwise will raised.')
|
||||
except (ValueError, TypeError):
|
||||
from http import HTTP, redirect
|
||||
from gluon.http import HTTP, redirect
|
||||
if otherwise is None:
|
||||
raise HTTP(404)
|
||||
elif isinstance(otherwise, str):
|
||||
|
||||
Reference in New Issue
Block a user