[Python-checkins] r53584 - tracker/instances/python-dev/schema.py
erik.forsberg
python-checkins at python.org
Sat Jan 27 22:20:11 CET 2007
Author: erik.forsberg
Date: Sat Jan 27 22:20:11 2007
New Revision: 53584
Modified:
tracker/instances/python-dev/schema.py
Log:
Removed debug printout.
Modified: tracker/instances/python-dev/schema.py
==============================================================================
--- tracker/instances/python-dev/schema.py (original)
+++ tracker/instances/python-dev/schema.py Sat Jan 27 22:20:11 2007
@@ -203,7 +203,6 @@
# limited to only the situation where the Viewed or Edited item is their own.
def own_record(db, userid, itemid):
'''Determine whether the userid matches the item being accessed.'''
- print 'own record', userid, itemid
return userid == itemid
p = db.security.addPermission(name='View', klass='user', check=own_record,
description="User is allowed to view their own user details")
More information about the Python-checkins
mailing list