My Recent Pastes (56 and counting)
Pastes by Andi (56 and counting)
Below are the 15 most recent pasties by Andi.
March 17, 2010
5:27AM EDT
by Andi
View more (12 lines)
>>> from collective.solr.parser import AttrDict >>> a = AttrDict() >>> a.update(foo=23, bar=42) >>> a {'foo': 23, 'bar': 42}
March 16, 2010
4:11AM EDT
by Andi
View more (13 lines)
alt: <img tal:replace="context/foo_mini" /> neu:
March 16, 2010
4:00AM EDT
by Andi
View more (9 lines)
class BlobImageScaleStorage(AbstractStorage): """ storage for blob-based image scales """ def create(self, **parameters): result = Blob()
March 16, 2010
3:57AM EDT
by Andi
View more (7 lines)
class ImageScaleStorage(AbstractStorage): """ storage for archetypes-based image scales """ def create(self, **parameters): data = self.field.get(self.context)
March 16, 2010
3:57AM EDT
by Andi
View more (73 lines)
from uuid import uuid4 from zope.interface import Interface from zope.interface import implements from zope.annotation import IAnnotations from UserDict import DictMixin
March 15, 2010
6:08AM EDT
by Andi
View more (12 lines)
alt: <img tal:replace="context/foo_mini" /> neu:
March 15, 2010
6:08AM EDT
by Andi
[buildout]
extends = experimental/new-scales.cfg
always-checkout = false
March 08, 2010
10:48AM EDT
by Andi
View more (15 lines)
Index: src/Products.Archetypes/Products/Archetypes/Field.py =================================================================== --- src/Products.Archetypes/Products/Archetypes/Field.py (revision 12299) +++ src/Products.Archetypes/Products/Archetypes/Field.py (working copy) @@ -1449,6 +1449,9 @@
March 08, 2010
10:42AM EDT
by Andi
View more (14 lines)
Index: src/Products.Archetypes/Products/Archetypes/Field.py =================================================================== --- src/Products.Archetypes/Products/Archetypes/Field.py (revision 12299) +++ src/Products.Archetypes/Products/Archetypes/Field.py (working copy) @@ -1449,6 +1449,8 @@
March 01, 2010
6:59AM EDT
by Andi
View more (20 lines)
diff --git a/src/plone/folder/tests/test_integration.py b/src/plone/folder/tests/test_integration.py index 75f9518..40c76b8 100644 --- a/src/plone/folder/tests/test_integration.py +++ b/src/plone/folder/tests/test_integration.py @@ -3,6 +3,7 @@ from Acquisition import Implicit
February 26, 2010
7:24PM EDT
by Andi
View more (38 lines)
--- apache.conf-20100226 2009-07-24 16:02:40.000000000 +0000 +++ apache.conf 2010-02-27 00:21:42.000000000 +0000 @@ -16,4 +16,10 @@ RedirectMatch ^[/]$ https://dev.plone.org
February 17, 2010
8:05PM EDT
by Andi
View more (28 lines)
gopip: *** PROFILER RESULTS *** sortResults (Products/ZCatalog/Catalog.py:549) function called 7 times (2 calls not profiled)
January 27, 2010
6:08PM EDT
by Andi
View more (102 lines)
Traceback (most recent call last): File "/Users/zeidler/plone/cache/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/testrunner/runner.py", line 361, in run_layer setup_layer(options, layer, setup_layers) File "/Users/zeidler/plone/cache/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/testrunner/runner.py", line 513, in setup_layer setup_layer(options, base, setup_layers)
January 20, 2010
8:38AM EDT
by Andi
View more (10 lines)
Index: devel.cfg =================================================================== --- devel.cfg (revision 10835) +++ devel.cfg (working copy) @@ -20,4 +20,4 @@
December 02, 2009
12:30PM EDT
by Andi
View more (24 lines)
length: 0 python: 0.3133 (100.0%) bfg: 0.0689 (22.0%) length: 1 python: 0.3334 (100.0%)
