summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorJoe Gordon <joe.gordon0@gmail.com>2013-05-27 17:08:53 +0300
committerJoe Gordon <joe.gordon0@gmail.com>2013-05-28 16:04:11 +0200
commit0a9229c14fd27925d95613b8256c82bf90892e1e (patch)
treec5add8cd4dee51862bf4465f5843eea5b2850599 /nova/utils.py
parente06ab5877462c83f6574b0304331e3ff906ddb14 (diff)
downloadnova-0a9229c14fd27925d95613b8256c82bf90892e1e.tar.gz
nova-0a9229c14fd27925d95613b8256c82bf90892e1e.tar.xz
nova-0a9229c14fd27925d95613b8256c82bf90892e1e.zip
Pull binary name from sys.argv[0]
Instead of inspecting the top of the stack to find the binary name, just use sys.argv[0]. This is little cleaner then inspecting the stack. Co-authored-by: Mark McClain <mark.mcclain@dreamhost.com> Change-Id: I18d5233b6b0bd0ccaeeab5b7ce5006adcf4a8d40
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions