diff options
| author | Mark McLoughlin <markmc@redhat.com> | 2012-01-27 16:27:25 +0000 |
|---|---|---|
| committer | Mark McLoughlin <markmc@redhat.com> | 2012-01-27 16:27:25 +0000 |
| commit | 7633bef9382bc6038837d19eb535bfbdcac76f3f (patch) | |
| tree | a4bce55749a9280b86242455f059d3e4f0651454 /openstack/common | |
| parent | 9d5ac5225d5daad3e0ab49f494641281f8fb9613 (diff) | |
| download | oslo-7633bef9382bc6038837d19eb535bfbdcac76f3f.tar.gz oslo-7633bef9382bc6038837d19eb535bfbdcac76f3f.tar.xz oslo-7633bef9382bc6038837d19eb535bfbdcac76f3f.zip | |
Re-factor update.py to avoid breaking tests
nosetests tries to import update.py and fails.
Re-factor the code so that we have a main function that doesn't get
executed on import.
Note: setup.py would break nose similarly, except nose ignores setup.py
by default.
Change-Id: I609019d492f6fc2d7f2e8b6165228f879cf1ddb7
Diffstat (limited to 'openstack/common')
0 files changed, 0 insertions, 0 deletions
