Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use path_info instead of path (script_name isn't relevant)

  • Loading branch information...
commit c72cd5060ec6e5d05b5731182a825294fe9e8aaa 1 parent c714987
@mcdonc mcdonc authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 CHANGES.txt
  2. +1 −1  pyramid_tm/__init__.py
  3. +1 −1  pyramid_tm/tests.py
View
4 CHANGES.txt
@@ -1,8 +1,8 @@
Next release
------------
-- Write username and ``request.path`` as transaction metadata via ``t.setUser``
- and ``t.note`` respectively during a commit.
+- Write unauthenticated userid and ``request.path_info`` as transaction
+ metadata via ``t.setUser`` and ``t.note`` respectively during a commit.
0.6 (2012-12-26)
----------------
View
2  pyramid_tm/__init__.py
@@ -66,7 +66,7 @@ def tm_tween(request):
raise AbortResponse(response)
t = manager.get()
t.setUser(userid, '')
- t.note(request.path)
+ t.note(request.path_info)
manager.commit()
return response
except AbortResponse:
View
2  pyramid_tm/tests.py
@@ -267,7 +267,7 @@ def note(self, value):
self._note = value
class DummyRequest(object):
- path = '/'
+ path_info = '/'
def __init__(self):
self.environ = {}
self.made_seekable = 0
Please sign in to comment.
Something went wrong with that request. Please try again.