projects
/
tahoe-lafs
/
zfec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce1af69
)
setup: misc/show-tool-versions.py can just import platform instead of launching a...
author
zooko
<zooko@zooko.com>
Sat, 13 Jun 2009 22:23:27 +0000
(
03:53
+0530)
committer
zooko
<zooko@zooko.com>
Sat, 13 Jun 2009 22:23:27 +0000
(
03:53
+0530)
Ignore-this:
90cae052b63547a01bd325aa6b63040d
darcs-hash:
5d29a7c58ac6bf4bbaa259f651b39f039b938488
misc/show-tool-versions.py
patch
|
blob
|
history
diff --git
a/misc/show-tool-versions.py
b/misc/show-tool-versions.py
index bcabc6a57798856eee9fcf53887a1f40c20a325c..13e7263b71b94e7486d829180a76bdec1f959be6 100755
(executable)
--- a/
misc/show-tool-versions.py
+++ b/
misc/show-tool-versions.py
@@
-24,8
+24,8
@@
except OSError:
pass
try:
- out = subprocess.Popen(["python", "-c", "import platform;print platform.platform()"],
- stdout=subprocess.PIPE).communicate()[0]
+ import platform
+ out = platform.platform()
print
print "platform:", out.replace("\n", " ")
print full.rstrip()