diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-04-24 22:17:44 +0200 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-04-24 22:17:44 +0200 |
commit | a3cc10719525f6a88b802ea3fc65a94a5d998350 (patch) | |
tree | 196c923566fff36c5c4443ef5c05b421d242e5ba /modules | |
parent | c9a836d92e8463210a0ceb3e0254b463537732cd (diff) | |
download | colin-keep-a3cc10719525f6a88b802ea3fc65a94a5d998350.tar colin-keep-a3cc10719525f6a88b802ea3fc65a94a5d998350.tar.gz colin-keep-a3cc10719525f6a88b802ea3fc65a94a5d998350.tar.bz2 colin-keep-a3cc10719525f6a88b802ea3fc65a94a5d998350.tar.xz colin-keep-a3cc10719525f6a88b802ea3fc65a94a5d998350.zip |
Added password weakness checking
Improved icon and image installation and usage (File::ShareDir::Install)
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/contribfinder.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/contribfinder.py b/modules/contribfinder.py index 4adada8..458299a 100755 --- a/modules/contribfinder.py +++ b/modules/contribfinder.py @@ -89,18 +89,18 @@ class mainGui(): self.dialog.destroy() break if event.widget() == self.btnLookAtIt: - if(cmp(self.contributor.strip(),"")!=0): - url = 'http://people.mageia.org/u/%s.html' % self.contributor - os.system("www-browser %s" % url) + if(cmp(self.contributor.strip(),"")!=0): + url = 'http://people.mageia.org/u/%s.html' % self.contributor + os.system("www-browser %s" % url) if event.widget() == self.btnsearch: #self.dialog.startMultipleChanges() #self.rtinformations.setValue("Loading...") #self.dialog.doneMultipleChanges() self.contributor = self.stripErrMessages(self.invokeMgaRepo(self.txtpkgname.value())) - if(cmp(self.contributor.strip(),"")!=0): - outstr = 'Maintainer: <a href="http://people.mageia.org/u/%s.html">%s</a><br />e-mail: <a href="mailto:%s@mageia.org">%s@mageia.org</a>' % (self.contributor,self.contributor,self.contributor,self.contributor) - else: - outstr = '' + if(cmp(self.contributor.strip(),"")!=0): + outstr = 'Maintainer: <a href="http://people.mageia.org/u/%s.html">%s</a><br />e-mail: <a href="mailto:%s@mageia.org">%s@mageia.org</a>' % (self.contributor,self.contributor,self.contributor,self.contributor) + else: + outstr = '' self.rtinformations.setValue(outstr) if __name__ == "__main__": |