patch for PyDO-2.0a1
Jacob Smullyan <[email protected]> Wed, 11 May 2005 17:39:47 -0400
| Newsgroups | gmane.comp.web.skunkweb |
|---|---|
| Message-ID | <[email protected]> |
I stupidly left out two @classmethod decorators from the last PyDO alpha. Use svn or apply the attached patch. Crumpling under the self-inflicted blow, j -- Jacob Smullyan
BROWNBAG
(text/plain, 530 B)
Index: base.py
===================================================================
--- base.py (revision 1468)
+++ base.py (revision 1474)
@@ -347,10 +347,12 @@
refetch=cls.refetch
return cls._new(fieldData, refetch)
+ @classmethod
def newfetch(cls, **fieldData):
"""like new(), but always refetches."""
return cls._new(fieldData, 1)
+ @classmethod
def newnofetch(cls, **fieldData):
"""like new(), but never refetches."""
return cls._new(fieldData, 0)
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCgnujuqamFyFXXLIRAqpvAKCm1JRzSqxaKuhSH5690y2TciMckwCePBy9 ubIDPJroWCfggiMSeHsnSvY= =sgwL -----END PGP SIGNATURE-----