Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Take out configure_payments hack #2232

Merged
merged 7 commits into from
Apr 2, 2014
Merged

Take out configure_payments hack #2232

merged 7 commits into from
Apr 2, 2014

Commits on Apr 2, 2014

  1. Switch to new environment.py library for config

    I factored out a new library called environment.py to manage
    configuration from environment variables. This commit replaces our
    former usage of the envvar function with environment. The next step is
    ot replace all of our direct os.environ access.
    chadwhitacre committed Apr 2, 2014
    Configuration menu
    Copy the full SHA
    99df134 View commit details
    Browse the repository at this point in the history
  2. Introduce env to configure-aspen.py

    On #2226 I added a wireup._env function and used it under the hood in
    wireup to replace some older code. This commit brings configure-aspen
    into the mix. By introducing the env object into configure-aspen I'm
    setting us up to replace os.environ calls in other wireup functions with
    the env object.
    chadwhitacre committed Apr 2, 2014
    Configuration menu
    Copy the full SHA
    acec1f8 View commit details
    Browse the repository at this point in the history
  3. Switch wireup.canonical to use env

    This was a little complicated because in test_hooks we do a dance with
    canonical, and I had to update that to work with env instead of
    os.environ directly.
    chadwhitacre committed Apr 2, 2014
    Configuration menu
    Copy the full SHA
    d351a7b View commit details
    Browse the repository at this point in the history
  4. Remove os.environ from configure-aspen.py

    This removes the instances of os.environ that are actually in
    configure-aspen.py. There are still instances in wireup that are called
    from configure-aspen.
    chadwhitacre committed Apr 2, 2014
    Configuration menu
    Copy the full SHA
    fceff3e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f2b2a70 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    91bf606 View commit details
    Browse the repository at this point in the history
  7. Take out configure_payments hack

    With the upgrade to the balanced library in #2036 we no longer need this
    workaround for balanced/balanced-python#5.
    Removing at this point because I'm ripping out all of our direct
    os.environ usage and this applies.
    chadwhitacre committed Apr 2, 2014
    Configuration menu
    Copy the full SHA
    a3100a9 View commit details
    Browse the repository at this point in the history