diff options
| author | Pierre-Yves Chibon <pingou@pingoured.fr> | 2012-04-25 19:19:48 +0200 |
|---|---|---|
| committer | Pierre-Yves Chibon <pingou@pingoured.fr> | 2012-04-25 19:19:48 +0200 |
| commit | 405641d74f313a320b4198523d2a85d443a76684 (patch) | |
| tree | e004bb4ee8f475dfcc8c90c1319e90de0fad3b01 | |
| parent | 9e73073396461c00eab07d535f5d46e4cf4328cf (diff) | |
Remove debugging code and fix usage
| -rw-r--r-- | get_mbox.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/get_mbox.py b/get_mbox.py index 4441b8e..0576e31 100644 --- a/get_mbox.py +++ b/get_mbox.py @@ -13,7 +13,6 @@ months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', def archive_downloader(i): """ Retrieve the archive for all the year and month defined. """ - print i list_name = i[0] year = i[1] month = i[2] @@ -36,7 +35,7 @@ def archive_downloader(i): if __name__ == "__main__": - if len(sys.argv) < 1 or '-h' in sys.argv or '--help' in sys.argv: + if len(sys.argv) < 2 or '-h' in sys.argv or '--help' in sys.argv: print '''USAGE: python get_mbox.py list_name''' else: |
