Unify run.py's two execution paths, for Policy and Selections
commitfc7a529058c075d9bc8e054791e28ace05521597
authorMark Seaborn <mrs@mythic-beasts.com>
Sun, 2 Nov 2008 17:56:43 +0000 (2 17:56 +0000)
committerMark Seaborn <mrs@mythic-beasts.com>
Sun, 2 Nov 2008 17:56:43 +0000 (2 17:56 +0000)
treeab2ec665e36dde180b52877c3354f6bb6efd1dcf
parent449e2b815efa22efda73afb07b139b30f855f67e
Unify run.py's two execution paths, for Policy and Selections
 * Always go via a Selections object.  Convert a Policy if necessary.
 * This means the two pieces of code for setting environment variables can
   be combined, although they are slightly different: one tests for
   "package:" IDs, the other tests for ZeroInstallImplementation.
tests/testendtoend.py
zeroinstall/injector/run.py