diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-07-31 11:38:08 -0700 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2017-07-31 11:40:05 -0700 |
commit | 11b2a73549df60bdd19aecb98dc4b9e71a40c0ac (patch) | |
tree | 13a5bcc5b7ab397b6ecf795db244e39883830227 /api/urls.py | |
parent | 54f26bfe1cb139545ab86450342c6a7ab520dd83 (diff) |
NSBperf: don't exit during import time
This was breaking testr unittests.
Don't do this like this during import time,
only do them in if __name__ sections, otherwise
when anything else tries to import this module
it exists.
Change-Id: Ia17f5e1a5cbe07ab287d3b95e96489b8a6248170
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'api/urls.py')
0 files changed, 0 insertions, 0 deletions