Skip to content

Commit

Permalink
Reference the furl version instead of calendar dates.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Grunseid committed Apr 24, 2015
1 parent e8280dd commit da2a538
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion furl/furl.py
Expand Up @@ -524,7 +524,7 @@ def encode(self, delimiter='&', delimeter=_absent):
Query('a=a&b=#').encode() == 'a=a&b=%23'
Query('a=a&b=#').encode(';') == 'a=a;b=%23'
Until 2015-04-24, the 'delimiter' argument was incorrectly
Until furl v0.4.6, the 'delimiter' argument was incorrectly
spelled 'delimeter'. For backwards compatibility, accept both
the correct 'delimiter' and the old, mispelled 'delimeter'.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_furl.py
Expand Up @@ -564,7 +564,7 @@ def test_various(self):
assert str(q) == q.encode() == q.encode('&')

# encode() accepts both 'delimiter' and 'delimeter'. The
# latter was incorrectly used until 2015-04-24.
# latter was incorrectly used until furl v0.4.6.
e = q.encode
assert e(';') == e(delimiter=';') == e(delimeter=';')

Expand Down

0 comments on commit da2a538

Please sign in to comment.