Removed use of deprecated optparse module in favor of argparse #8

Merged
merged 1 commit into from Aug 3, 2012
Commits on Aug 3, 2012
  1. Removed use of deprecated optparse module in favor of argparse

    tr3buchet committed Aug 3, 2012
    Refactored run_supernova(), moving config functionality into
    separate functions. This was done for somewhat selfish
    reasons in that I would like to use these function elsewhere,
    but this refactor also cleans the function up a bit.
    
    run_supernova_keyring() now prints an error if the user doesn't
    request get or set as an argument.