hgext/bugzilla.py
changeset 37463 bbd240f81ac5
parent 37458 00e4bd97b095
child 41343 7370f302be71
equal deleted inserted replaced
37462:c0d0fd87ba7c 37463:bbd240f81ac5
   532             out = util.fromnativeeol(fp.read())
   532             out = util.fromnativeeol(fp.read())
   533             ret = fp.close()
   533             ret = fp.close()
   534             if ret:
   534             if ret:
   535                 self.ui.warn(out)
   535                 self.ui.warn(out)
   536                 raise error.Abort(_('bugzilla notify command %s') %
   536                 raise error.Abort(_('bugzilla notify command %s') %
   537                                   procutil.explainexit(ret)[0])
   537                                   procutil.explainexit(ret))
   538         self.ui.status(_('done\n'))
   538         self.ui.status(_('done\n'))
   539 
   539 
   540     def get_user_id(self, user):
   540     def get_user_id(self, user):
   541         '''look up numeric bugzilla user id.'''
   541         '''look up numeric bugzilla user id.'''
   542         try:
   542         try: