Changeset 2756 in products


Ignore:
Timestamp:
Aug 17, 2010 2:31:14 PM (14 years ago)
Author:
liebster
Message:

CleanUp? code

Location:
quintagroup.gdocs.spreadsheet/trunk/quintagroup/gdocs/spreadsheet
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.gdocs.spreadsheet/trunk/quintagroup/gdocs/spreadsheet/README.txt

    r2727 r2756  
    110110    >>> browser.getControl(name='order_columns.column_title:records', index=1).value = 'Title 2' 
    111111    >>> browser.getControl('Save').click() 
    112      
     112 
    113113We check that the changes were applied. 
    114114 
     
    123123 
    124124    >>> browser.getLink('Edit').click() 
    125     >>> browser.getControl(name='order_columns.orderindex_:records',index=1).value = '2'     
     125    >>> browser.getControl(name='order_columns.orderindex_:records',index=1).value = '2' 
    126126    >>> browser.getControl(name='order_columns.column_key:records',index=1).value = ['col3'] 
    127127    >>> browser.getControl(name='order_columns.column_title:records', index=1).value = 'Title 3' 
  • quintagroup.gdocs.spreadsheet/trunk/quintagroup/gdocs/spreadsheet/browser/worksheetview.py

    r2706 r2756  
    4343        self.query = shDocumentQuery() 
    4444 
    45     @property 
    46     def portal_catalog(self): 
    47         return getToolByName(self.context, 'portal_catalog') 
    48  
    49     @property 
    50     def portal(self): 
    51         return getToolByName(self.context, 'portal_url').getPortalObject() 
    52  
    5345    @memoize_contextless 
    5446    def renderWorksheet(self, ssh_id="", wsh_id='', startrow_idx=0): 
  • quintagroup.gdocs.spreadsheet/trunk/quintagroup/gdocs/spreadsheet/content/gspreadsheet.py

    r2698 r2756  
    8686 
    8787class GSpreadsheet(base.ATCTContent): 
    88     """ Lets you select google spreadsheet id, worksheet id, choose keys of columns and define them title """ 
     88    """Lets you select google spreadsheet id, worksheet id, 
     89    choose keys of columns and define them title 
     90    """ 
    8991    implements(IGSpreadsheet) 
    9092 
Note: See TracChangeset for help on using the changeset viewer.