comparison hgext/notify.py @ 3679:2956948b81f3

fix warnings generated by pygettext.py.
author Marcos Chaves <marcos.nospam@gmail.com>
date Sat, 18 Nov 2006 17:20:38 -0200
parents b4ad640a3bcf
children 16f8e7d1dd54
comparison
equal deleted inserted replaced
3678:7e622c9a9707 3679:2956948b81f3
257 257
258 if used as changegroup hook, send one email for all changesets in 258 if used as changegroup hook, send one email for all changesets in
259 changegroup. else send one email per changeset.''' 259 changegroup. else send one email per changeset.'''
260 n = notifier(ui, repo, hooktype) 260 n = notifier(ui, repo, hooktype)
261 if not n.subs: 261 if not n.subs:
262 ui.debug(_('notify: no subscribers to repo %s\n' % n.root)) 262 ui.debug(_('notify: no subscribers to repo %s\n') % n.root)
263 return 263 return
264 if n.skipsource(source): 264 if n.skipsource(source):
265 ui.debug(_('notify: changes have source "%s" - skipping\n') % 265 ui.debug(_('notify: changes have source "%s" - skipping\n') %
266 source) 266 source)
267 return 267 return