cobalt.py

changeset 30
114afc110afd
parent 29
5767ee263b12
child 31
4e3259daa425
equal deleted inserted replaced
29:5767ee263b12 30:114afc110afd
845 self.privmsg (replyto, 'There is no developer \'%s\'' % user) 845 self.privmsg (replyto, 'There is no developer \'%s\'' % user)
846 #fi 846 #fi
847 elif command == 'listdevemails': 847 elif command == 'listdevemails':
848 check_admin (sender, ident, host, command) 848 check_admin (sender, ident, host, command)
849 849
850 for dev, emails in g_config['developer_emails'].iteritems(): 850 if 'developer_emails' in g_config:
851 self.privmsg (replyto, 'Emails for %s: %s' % (dev, ', '.join (emails))) 851 for dev, emails in g_config['developer_emails'].iteritems():
852 #done 852 self.privmsg (replyto, 'Emails for %s: %s' % (dev, ', '.join (emails)))
853 #done
854 else
855 self.privmsg (replyto, 'No dev emails.')
856 #fi
853 elif command == 'checkhg': 857 elif command == 'checkhg':
854 check_admin (sender, ident, host, command) 858 check_admin (sender, ident, host, command)
855 global repocheck_timeout 859 global repocheck_timeout
856 repocheck_timeout = {'zandronum':0, 'zandronum-stable':0} 860 repocheck_timeout = {'zandronum':0, 'zandronum-stable':0}
857 process_zan_repo_updates (True) 861 process_zan_repo_updates (True)

mercurial