Permalink
Browse files

just in case someone decides not to change the defaults

  • Loading branch information...
1 parent 0631be4 commit a55cde635f64386fb4d01eb8436395deeae6b1b3 Benjamin Golub committed Oct 23, 2008
Showing with 3 additions and 3 deletions.
  1. +3 −3 todo
View
6 todo
@@ -14,13 +14,13 @@ def sendmail(sender, receiver, subject, body=''):
def main():
parser = OptionParser(usage='usage: %prog [options] subject')
- parser.set_defaults(receiver='bgolub+todo@benjamingolub.com')
+ parser.set_defaults(receiver='example+todo@example.com')
parser.add_option('-p', '--personal', action='store_const', dest='receiver',
- const='bgolub+todo@benjamingolub.com')
+ const='example+todo@example.com')
parser.add_option('-r', '--receiver', action='store', dest='receiver')
parser.add_option('-s', '--sender', action='store', dest='sender')
parser.add_option('-w', '--work', action='store_const', dest='receiver',
- const='bgolub+todo@friendfeed.com')
+ const='example+todo@example.com')
options, args = parser.parse_args()
if not options.sender:

0 comments on commit a55cde6

Please sign in to comment.