Changeset 2260


Ignore:
Timestamp:
19 Sep 2007, 15:32:58 (17 years ago)
Author:
joachim
Message:

use getattr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/PatchQueueCatalogProcessQueue.py

    r2259 r2260  
    3333    if not hasattr(self,"_bypass"):
    3434        self._bypass = False
    35     return self._bypass
     35    return getattr(self,'_bypass',False)
    3636
    3737security.declareProtected(view_management_screens, 'setBypassQueue')
     
    187187QueueCatalog.manage_editForm = PageTemplateFile('zmi/qc_edit', globals())
    188188QueueCatalog.manage_edit = manage_edit
    189 
Note: See TracChangeset for help on using the changeset viewer.