summaryrefslogtreecommitdiffstats
path: root/Demo/pdist/sumtree.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/pdist/sumtree.py')
-rwxr-xr-xDemo/pdist/sumtree.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Demo/pdist/sumtree.py b/Demo/pdist/sumtree.py
index 9291a56..68224df 100755
--- a/Demo/pdist/sumtree.py
+++ b/Demo/pdist/sumtree.py
@@ -1,4 +1,5 @@
import time
+import sys
import FSProxy
def main():
@@ -9,7 +10,9 @@ def main():
proxy._close()
t2 = time.time()
print t2-t1, "seconds"
- raw_input("[Return to exit] ")
+ sys.stdout.write("[Return to exit] ")
+ sys.stdout.flush()
+ sys.stdin.readline()
def sumtree(proxy):
print "PWD =", proxy.pwd()