chiark / gitweb /
Add the "smtpdelay" config option
[stgit] / stgit / commands / mail.py
index 88e9241caede53591d37eb975aa83aa0b182151d..456c4b1f2b49f4166349379bd99a6a872d4441ef 100644 (file)
@@ -426,7 +426,7 @@ def func(parser, options, args):
     if options.sleep != None:
         sleep = options.sleep
     else:
-        sleep = 2
+        sleep = config.getint('stgit', 'smtpdelay')
 
     # send the cover message (if any)
     if options.cover or options.edit: