Logo Search packages:      
Sourcecode: gallery-uploader version File versions  Download package

def guplib::albums::Album::__cmp__ (   self,
  other 
)

Comparision (used to sort the album names).

Definition at line 73 of file albums.py.

00073                             :
        '''Comparision (used to sort the album names).'''
        if self.name == other.name:
            return 0
        elif self.name < other.name:
            return -1
        return 1

class AlbumList(object):


Generated by  Doxygen 1.6.0   Back to index