mirror of
https://github.com/google/blockly.git
synced 2025-12-16 06:10:12 +01:00
Back-ports from Blockly Games: * db is old and busted, ndb is the new hotness (there’s no known difference, just pointless API churn). * Use SHA1 which is consistent, rather than Python’s hash() which has started changing between executions. This stops duplicate programs from being stored. * Restructure so that storage.py can be used as a library, with xmlToKey and keyToXml being callable by external programs. * Use print function compatible with Python 3.
4 lines
75 B
Python
4 lines
75 B
Python
print("Status: 301")
|
|
print("Location: /static/demos/index.html")
|
|
print("")
|