Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 2 and Version 3 of SimpleDelete


Ignore:
Timestamp:
11/13/05 20:33:28 (9 years ago)
Author:
luke@…
Comment:

tab = spaces.

Legend:

Unmodified
Added
Removed
Modified
  • SimpleDelete

    v2 v3  
    77{{{ 
    88def remove(self, recordID): 
    9         myRecord = MyObject.selectBy(id=recordID) 
    10         if myRecord.count(): 
    11                 myRecord = list(myRecord)[0] 
    12                 myRecord.destroySelf() 
    13         else: 
    14                 #Could not find record with that id. 
     9    myRecord = MyObject.selectBy(id=recordID) 
     10    if myRecord.count(): 
     11        myRecord = list(myRecord)[0] 
     12        myRecord.destroySelf() 
     13    else: 
     14        #Could not find record with that id. 
    1515}}} 
    1616