Commit Graph

7 Commits

Author SHA1 Message Date
Omer Karaduman
cf050069c1 Make build.py compatible with Python 2 and 3
Following changes are made with minimal touches;
- version dependent module imports
- codecs.open instead of open (for encoding errors)
- string_is_ascii modified for better compatibility
- In create_messages.py, synonym_defs are sorted as well to increase
  testability, as Python 3 does not guarantee key order.
  Note that this will cause previously generated files to have different
  orders from the files generated without this patch.
- small changes; paranthesis around "print"s, has_key -> in,
  "except x, y" -> "except x as y", sorted -> sort

Other files need similar small changes but are not touched as they are not
referenced from build.py

Fixes https://github.com/google/blockly/issues/2112
2018-11-16 22:58:05 +01:00
Neil Fraser
6748e43d30 Remove Puzzle app (now in Blockly Games). 2014-10-15 17:02:22 -07:00
Neil Fraser
6539211104 Change official project URL. 2014-10-07 13:09:55 -07:00
Neil Fraser
7122410373 Changing project location from Google Code to GitHub. 2014-09-08 15:18:02 -07:00
Neil Fraser
d998a1c8ec Update to latest version. 2014-09-08 14:26:52 -07:00
ellen.spertus
6ee38cdec3 Automatic commit Tue Jan 28 03:00:09 PST 2014 2014-01-28 03:00:09 -08:00
ellen.spertus
a8acffd81c New initial commit with .svn directories and their contents ignored. 2013-10-30 14:46:03 -07:00