Logo Search packages:      
Sourcecode: jockey version File versions  Download package

def jockey::ui::AbstractUI::list (   self  ) 

Print a list of available handlers and their status to stdout.

Definition at line 269 of file ui.py.

00269                   :
        '''Print a list of available handlers and their status to stdout.'''

        import sys
        for h in self.handlers:
            print '%s - %s (%s, %s, %s)' % (
                h.id(), h.name(), 
                h.free() and self.string_free or self.string_restricted,
                h.enabled() and self.string_enabled or self.string_disabled,
                h.used() and self.string_in_use or self.string_not_in_use)

    def change_enable(self, id, enable):


Generated by  Doxygen 1.6.0   Back to index