Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove remaining imports/calls to six not automatically removed by pyupgrade. | Ben Sturmfels | 2021-03-05 | 1 | -3/+1 |
| | |||||
* | Apply `pyupgrade --py3-plus` to remove Python 2 compatibility code. | Ben Sturmfels | 2021-03-05 | 1 | -4/+4 |
| | |||||
* | Fix urlparse import in tools/routing.py | Berker Peksag | 2015-08-01 | 1 | -1/+1 |
| | | | | | | | urlparse is already a function, so we don't need to specify a module name. Refs #5339 | ||||
* | Import urlparse from six.moves to work on both Python 2 and 3. | Berker Peksag | 2015-06-05 | 1 | -1/+3 |
| | |||||
* | Fix #1056 - Add flag to accept URLs without a trailing slash | Jessica Tallon | 2014-12-12 | 1 | -3/+10 |
| | |||||
* | Fix #1025 - Make API IDs IRIs | Jessica Tallon | 2014-11-21 | 1 | -0/+15 |
| | |||||
* | Start to use six for basestring. | Elrond | 2013-04-18 | 1 | -1/+2 |
| | | | | | | six allows us to smoothly get more forward compatible with py3. The idea is to change things over to use six, when/if we feel a need for it. | ||||
* | Rewrite routing using new MGRoute class | Elrond | 2012-12-23 | 1 | -12/+15 |
| | | | | | | | | | | | MGRoute subclasses Rule(): Rule doesn't have a way to tag extra data, like the controller function, we need. So MGRoute has a new attribute .gmg_controller, which holds this. Rewrite everything to use this new Rule variant and drop all the other stuff that mapped endpoints to controller functions, mostly. | ||||
* | Move things from routing.py to tools/routing.py | Elrond | 2012-12-23 | 1 | -0/+63 |
This stops a cyclic import. Move add_route, mount and endpoint_to_controller into tools/routing.py and change all callers. |