Ignore:
Timestamp:
20 May 2011, 12:05:41 (13 years ago)
Author:
uli
Message:

More minor fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py

    r6165 r6166  
    525525            row = row.items()
    526526            # Sort fields in headerfield order
    527             row = sorted(row, key=lambda k: self.reader.fieldnames.index(k[0]))
     527            row = sorted(row,
     528                         key=lambda k: self.reader.fieldnames.index(k[0]))
    528529            row = [x[1] for x in row]
    529530            result.append(row)
     
    611612            row = row.items()
    612613            # Sort fields in headerfield order
    613             row = sorted(row, key=lambda k: self.reader.fieldnames.index(k[0]))
     614            row = sorted(row,
     615                         key=lambda k: self.reader.fieldnames.index(k[0]))
    614616            row = [x[1] for x in row]
    615617            result.append(row)
     
    11391141    taboneactions = ['Save','Cancel']
    11401142    tabtwoactions = ['Add course', 'Remove selected courses','Cancel']
    1141     tabthreeactions = ['Add certificate', 'Remove selected certificates', 'Cancel']
     1143    tabthreeactions = ['Add certificate', 'Remove selected certificates',
     1144                       'Cancel']
    11421145    tabfouractions1 = ['Remove selected local roles']
    11431146    tabfouractions2 = ['Add local role']
     
    14271430    grok.template('certificatemanagepage')
    14281431    taboneactions = ['Save','Cancel']
    1429     tabtwoactions = ['Add course referrer', 'Remove selected course referrers','Cancel']
     1432    tabtwoactions = ['Add course referrer',
     1433                     'Remove selected course referrers','Cancel']
    14301434
    14311435    @property
Note: See TracChangeset for help on using the changeset viewer.