Exemplo n.º 1
0
    def __init__(self, device=None):
        VolumeLabel.__init__(self)

        try:
            fs = ocfs2.Filesystem(device)
            self.set_text(fs.fs_super.s_label)
        except ocfs2.error:
            pass
Exemplo n.º 2
0
    def __init__(self, device=None):
        VolumeLabel.__init__(self)

        try:
            fs = ocfs2.Filesystem(device)
            self.set_text(fs.fs_super.s_label)
        except ocfs2.error:
            pass
Exemplo n.º 3
0
 def __init__(self):
     VolumeLabel.__init__(self)
     self.set_text('oracle')
Exemplo n.º 4
0
 def __init__(self):
     VolumeLabel.__init__(self)
     self.set_text('oracle')