~evfool/software-center/lp839389

« back to all changes in this revision

Viewing changes to softwarecenter/db/application.py

merged lp:~mvo/software-center/workaround-gtk-regression-lp986186 after approval from Gary

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
 
128
128
    # special methods
129
129
    def __hash__(self):
130
 
        return utf8("%s:%s" % (utf8(self.appname), utf8(self.pkgname))).__hash__()
 
130
        return utf8("%s:%s" % (
 
131
                utf8(self.appname), utf8(self.pkgname))).__hash__()
131
132
 
132
133
    def __cmp__(self, other):
133
134
        return self.apps_cmp(self, other)