> Well originally I had started doing this using configman, but had trouble figuring out how to get it to handle the subcommand style

I've got examples for that, but I don't think it's worth going back to do it.



----- Original Message -----
> > @@ -0,0 +1,206 @@
> > +import argparse
> > +import logging
> > +import os
> > +import shutil
> > +import socket
> > +import subprocess
> > +import sys
> > +
> > +logger = logging.getLogger('socorro')
> > +logger.setLevel(logging.INFO)
> > +logger.addHandler(logging.StreamHandler())
> > +
> > +
> > +class Socorro():
> 
> Well originally I had started doing this using configman, but had trouble
> figuring out how to get it to handle the subcommand style of parsing I am
> using argparse for. Currently the only state they share is that
> ```superuser``` string but I could see it being useful to share more.
> 
> I'll make the change you suggest, passing in that environment variable when
> ```Socorro``` is instantiated.
> 
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/mozilla/socorro/pull/1665/files#r7740062