We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3896e7e commit fed5dcbCopy full SHA for fed5dcb
1 file changed
AndroidViewClient/examples/click-button-by-text.py
@@ -1,4 +1,4 @@
1
-#! /usr/bin/env monkeyrunner
+#! /usr/bin/env python
2
'''
3
Copyright (C) 2012 Diego Torres Milano
4
Created on May 5, 2012
@@ -10,16 +10,6 @@
10
import os
11
import time
12
13
-# This must be imported before MonkeyRunner and MonkeyDevice,
14
-# otherwise the import fails.
15
-# PyDev sets PYTHONPATH, use it
16
-try:
17
- for p in os.environ['PYTHONPATH'].split(':'):
18
- if not p in sys.path:
19
- sys.path.append(p)
20
-except:
21
- pass
22
-
23
try:
24
sys.path.append(os.path.join(os.environ['ANDROID_VIEW_CLIENT_HOME'], 'src'))
25
except:
@@ -39,4 +29,4 @@
39
29
print >>sys.stderr, "b%s not found" % bt
40
30
time.sleep(7)
41
31
42
-print >>sys.stderr, "bye"
32
+print >>sys.stderr, "bye"
0 commit comments