[schema] Make syntax compatible with print_function
yams seems to exec() us sometimes (instead of __import__()), and
yams.reader uses print_function nowadays.
--- a/schema.py Thu Jul 09 17:03:50 2015 +0200
+++ b/schema.py Fri Jul 10 09:35:52 2015 +0200
@@ -657,7 +657,7 @@
groups = self.get_groups(action)
if _cw.user.matching_groups(groups):
if DBG:
- print 'check_perm: %r %r: user matches %s' % (action, _self_str, groups)
+ print ('check_perm: %r %r: user matches %s' % (action, _self_str, groups))
return
# if 'owners' in allowed groups, check if the user actually owns this
# object, if so that's enough