You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my local env (Python 3.5.2, django-stormpath 1.1.0), the first variable in this list created by key.split(self.DJANGO_PREFIX) is an empty string. Here's a screenshot of a debugger attached, with the line broken to illustrate the problem;
I'm not sure when exactly this cropped up, but here's what that sort of operation looks like in my python interpreter;
$ python
Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 26 2016, 10:47:25)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 'string_key'.split('string_')
['', 'key']
I'll be submitting a PR in a just a moment.
The text was updated successfully, but these errors were encountered:
I think that this line is broken; 37ff75b#diff-46ecae53ba9f8c81d6e2cd0c74251579R115
In my local env (Python 3.5.2, django-stormpath 1.1.0), the first variable in this list created by
key.split(self.DJANGO_PREFIX)
is an empty string. Here's a screenshot of a debugger attached, with the line broken to illustrate the problem;I'm not sure when exactly this cropped up, but here's what that sort of operation looks like in my python interpreter;
I'll be submitting a PR in a just a moment.
The text was updated successfully, but these errors were encountered: