[Zope3-checkins] CVS: ZODB4/src/zodb - interfaces.py:1.7
Barry Warsaw
barry@wooz.org
Tue, 4 Feb 2003 11:41:57 -0500
Update of /cvs-repository/ZODB4/src/zodb
In directory cvs.zope.org:/tmp/cvs-serv18705
Modified Files:
interfaces.py
Log Message:
Added __all__ for all public names.
=== ZODB4/src/zodb/interfaces.py 1.6 => 1.7 ===
--- ZODB4/src/zodb/interfaces.py:1.6 Tue Jan 28 13:17:30 2003
+++ ZODB4/src/zodb/interfaces.py Tue Feb 4 11:41:54 2003
@@ -25,6 +25,32 @@
from transaction.interfaces \
import TransactionError, RollbackError, ConflictError as _ConflictError
+__all__ = ['POSError',
+ 'POSKeyError',
+ 'ConflictError',
+ 'ReadConflictError',
+ 'DanglingReferenceError',
+ 'VersionError',
+ 'VersionCommitError',
+ 'VersionLockError',
+ 'UndoError',
+ 'MultipleUndoErrors',
+ 'StorageError',
+ 'StorageVersionError',
+ 'StorageTransactionError',
+ 'StorageSystemError',
+ 'MountedStorageError',
+ 'ReadOnlyError',
+ 'TransactionTooLargeError',
+ 'ExportError',
+ 'Unsupported',
+ 'InvalidObjectReference',
+ 'IAppConnection',
+ 'IConnection',
+ 'ITransaction',
+ 'ITransactionAttrs',
+ ]
+
def _fmt_oid(oid):
return "%016x" % zodb.utils.u64(oid)