forked from bmuller/twistar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only return a Deferred from DBObject.__new__ if afterInit actually re…
…turns a Deferredl; refs bmuller#34 This does not ensure backwards compabitility--previously since afterInit was not called during instantiation, instantiation was never deferred--but sure does improve it by providing it in cases where afterInit is not deferred.
- Loading branch information
Erik Allik
committed
Nov 19, 2012
1 parent
1e73e55
commit b1dbba1
Showing
2 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters