Re: [Archetypes-checkins] r5281 - Archetypes/branches/release-1_3-branch

"Alexander Limi" <limi-z4DKO/[email protected]>
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Organization Plone Solutions · http://www.plone solutions.com
Message-ID <[email protected]>
I sent a mail to Sidnei when I did it, he can probably decide whether it  
should be there or not. I was hunting a bug on plone.org that looked like  
someone forgot a set_trace call somewhere in AT or related products, and  
found this using a grep.

I'll let Sidnei call the shots on this one. :)

-- Alexander

On Sun, 11 Dec 2005 08:43:47 -0800, Stefan H. Holek  
<[email protected]> wrote:

> Well, this one was protected by an environment variable. Did it bite  
> you? From the diff it also looks like the block is now invalid ;-)
>
> Stefan
>
> On 11. Dez 2005, at 03:04, limi wrote:
>
>> Author: limi
>> Date: Sun Dec 11 02:04:03 2005
>> New Revision: 5281
>>
>> Modified:
>>    Archetypes/branches/release-1_3-branch/ApeSupport.py
>> Log:
>> Dudes, set_trace in production code isn't cool.
>>
>>
>> Modified: Archetypes/branches/release-1_3-branch/ApeSupport.py
>> ====================================================================== 
>> ========
>> --- Archetypes/branches/release-1_3-branch/ApeSupport.py	(original)
>> +++ Archetypes/branches/release-1_3-branch/ApeSupport.py	Sun Dec 11  
>> 02:04:03 2005
>> @@ -230,8 +230,6 @@
>>                  if os.environ.get('APE_TRACE_UNPICKLEABLE'):
>>                      # Provide an opportunity to examine
>>                      # the "attrvalue" attribute.
>> -                    import pdb
>> -                    pdb.set_trace()
>>                  raise RuntimeError(
>>                      'Unable to pickle the %s attribute, %s, '
>>                      'of %s at %s.  %s.' % (
>
> --
> Anything that happens, happens.  --Douglas Adams
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log  
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click



-- 
_____________________________________________________________________

      Alexander Limi · Chief Architect · Plone Solutions · Norway

  Consulting · Training · Development · http://www.plonesolutions.com
_____________________________________________________________________

       Plone Co-Founder · http://plone.org · Connecting Content
   Plone Foundation · http://plone.org/foundation · Protecting Plone



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.