mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-24 05:31:26 -05:00
python3 compatibility + webapp to flask refactoring
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
import warnings
|
||||
|
||||
warnings.warn("The importers module is deprecated and will be removed in "
|
||||
"version 2.0. Check the `util` module for json imports",
|
||||
DeprecationWarning)
|
||||
|
||||
|
||||
def import_json():
|
||||
warnings.warn(
|
||||
"'import_json function is deprecated and will be removed in version "
|
||||
"2.0 of the Stripe python bindings. Please use"
|
||||
"`from importer import json` instead'",
|
||||
DeprecationWarning)
|
||||
|
||||
from libraries.stripe.util import json
|
||||
return json
|
||||
Reference in New Issue
Block a user