[Zope3-checkins] CVS: Zope3/src/zope/app - copypastemove.py:1.14
Kiran Jonnalagadda
jace at pobox.com
Thu Dec 11 07:06:11 EST 2003
Update of /cvs-repository/Zope3/src/zope/app
In directory cvs.zope.org:/tmp/cvs-serv17223/src/zope/app
Modified Files:
copypastemove.py
Log Message:
Replaced 0 and 1 with False and True in moveableTo and copyableTo
=== Zope3/src/zope/app/copypastemove.py 1.13 => 1.14 ===
--- Zope3/src/zope/app/copypastemove.py:1.13 Wed Dec 10 08:07:53 2003
+++ Zope3/src/zope/app/copypastemove.py Thu Dec 11 07:06:10 2003
@@ -215,8 +215,8 @@
try:
checkObject(target, name, self.context)
except Invalid:
- return 0
- return 1
+ return False
+ return True
class ObjectCopier:
"""Adapter for copying objects between containers
@@ -413,8 +413,8 @@
try:
checkObject(target, name, self.context)
except Invalid:
- return 0
- return 1
+ return False
+ return True
class PrincipalClipboard:
More information about the Zope3-Checkins
mailing list