[Erp5-dev] [PATCH] Problems with importing by	CSV	(Base_importCsvLine)
    Tomasz Brzezina 
    tomasz at brzezina.pl
       
    Thu Nov 30 15:07:51 CET 2006
    
    
  
Yoshinori Okuji napisał(a):
> On Thursday 30 November 2006 14:26, Łukasz Nowak wrote:
>> Tomasz Brzezina send in erp5-users[1] problem report for CSV importing.
>> This patch is based on his suggestions.
> 
> Isn't it better to use:
> 
> uid = object_property_dict.get('uid')
> if uid is None:
> ...
No, because we don't need uid at all. We only need to know if there is 
uid or there is not. And if there is we connect to that object. If not - 
we create a new object.
-- 
Tomasz Brzezina
    
    
More information about the Erp5-dev
mailing list