##// END OF EJS Templates
imanay -
r265:266
parent child
Show More
@@ -11,8 +11,8
11 self.output = ""
11 self.output = ""
12
12
13 def execute(self, beam="0"):
13 def execute(self, beam="0"):
14 #absObj = ABSClient(ipDestino="10.10.10.97")
14 absObj = ABSClient(ipDestino="10.10.10.97")
15 absObj = ABSClient(ipDestino="10.10.20.27")
15 #absObj = ABSClient(ipDestino="10.10.20.27")
16 self.output = absObj.changeBeam(beam)
16 self.output = absObj.changeBeam(beam)
17
17
18 def getOutput(self):
18 def getOutput(self):
@@ -1,8 +1,11
1 import file
1 import optparse, os, sys
2 from client3 import *
3 import sys
4
2
5 absObj = ABSClient(ipDestino="10.10.10.99")
3 pathFile = os.path.dirname(os.path.abspath(__file__))
4 sys.path.append(os.path.split(pathFile)[0])
5
6 from bin.client3 import ABSClient
7
8 absObj = ABSClient(ipDestino="10.10.10.97")
6 #absObj = ABSClient(ipDestino="10.10.20.27")
9 #absObj = ABSClient(ipDestino="10.10.20.27")
7 #absObj = ABSClient()
10 #absObj = ABSClient()
8 if len(sys.argv) == 2:
11 if len(sys.argv) == 2:
@@ -14,7 +14,7
14 def execute(self, filename):
14 def execute(self, filename):
15 if os.path.exists(filename):
15 if os.path.exists(filename):
16 #absObj = ABSClient(ipDestino="10.10.10.97")
16 #absObj = ABSClient(ipDestino="10.10.10.97")
17 absObj = ABSClient(ipDestino="10.10.20.27")
17 absObj = ABSClient(ipDestino="10.10.10.97")
18 self.output = absObj.sendFile(filename)
18 self.output = absObj.sendFile(filename)
19 #pass
19 #pass
20 else:
20 else:
General Comments 0
You need to be logged in to leave comments. Login now