/[soft]/mga-gnome/trunk/mga-gnome
ViewVC logotype

Diff of /mga-gnome/trunk/mga-gnome

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3555 by ovitters, Sun Mar 18 11:08:07 2012 UTC revision 3556 by ovitters, Sun Mar 18 11:40:22 2012 UTC
# Line 704  def cmd_parse_ftp_release_list(options, Line 704  def cmd_parse_ftp_release_list(options,
704          # maildrop aborts and will try to deliver after 5min          # maildrop aborts and will try to deliver after 5min
705          # fork to avoid this          # fork to avoid this
706          if os.fork() != 0: sys.exit(0)          if os.fork() != 0: sys.exit(0)
707          time.sleep(SLEEP_INITIAL)          # wait SLEEP_INITIAL after the message was sent
708            secs = SLEEP_INITIAL
709            t = email.utils.parsedate_tz(msg['Date'])
710            if t is not None:
711                msg_time = email.utils.mktime_tz(t)
712                secs = SLEEP_INITIAL - (time.time() - msg_time)
713    
714            if secs > 0: time.sleep(secs)
715    
716      error = False      error = False
717      for package in packages:      for package in packages:

Legend:
Removed from v.3555  
changed lines
  Added in v.3556

  ViewVC Help
Powered by ViewVC 1.1.28