# SVN changeset patch # User imanay # Date 2013-10-09 09:49:21.583854 # Revision 266 Index: trunk/absroot/source/abspy/scripts/changeBeam.py =================================================================== diff --git a/trunk/absroot/source/abspy/scripts/changeBeam.py b/trunk/absroot/source/abspy/scripts/changeBeam.py --- a/trunk/absroot/source/abspy/scripts/changeBeam.py (revision 265) +++ b/trunk/absroot/source/abspy/scripts/changeBeam.py (revision 266) @@ -11,8 +11,8 @@ self.output = "" def execute(self, beam="0"): - #absObj = ABSClient(ipDestino="10.10.10.97") - absObj = ABSClient(ipDestino="10.10.20.27") + absObj = ABSClient(ipDestino="10.10.10.97") + #absObj = ABSClient(ipDestino="10.10.20.27") self.output = absObj.changeBeam(beam) def getOutput(self): Index: trunk/absroot/source/abspy/scripts/getControlModuleStatus_new.py =================================================================== diff --git a/trunk/absroot/source/abspy/scripts/getControlModuleStatus_new.py b/trunk/absroot/source/abspy/scripts/getControlModuleStatus_new.py --- a/trunk/absroot/source/abspy/scripts/getControlModuleStatus_new.py (revision 265) +++ b/trunk/absroot/source/abspy/scripts/getControlModuleStatus_new.py (revision 266) @@ -1,8 +1,11 @@ -import file -from client3 import * -import sys +import optparse, os, sys -absObj = ABSClient(ipDestino="10.10.10.99") +pathFile = os.path.dirname(os.path.abspath(__file__)) +sys.path.append(os.path.split(pathFile)[0]) + +from bin.client3 import ABSClient + +absObj = ABSClient(ipDestino="10.10.10.97") #absObj = ABSClient(ipDestino="10.10.20.27") #absObj = ABSClient() if len(sys.argv) == 2: Index: trunk/absroot/source/abspy/scripts/sendFile.py =================================================================== diff --git a/trunk/absroot/source/abspy/scripts/sendFile.py b/trunk/absroot/source/abspy/scripts/sendFile.py --- a/trunk/absroot/source/abspy/scripts/sendFile.py (revision 265) +++ b/trunk/absroot/source/abspy/scripts/sendFile.py (revision 266) @@ -14,7 +14,7 @@ def execute(self, filename): if os.path.exists(filename): #absObj = ABSClient(ipDestino="10.10.10.97") - absObj = ABSClient(ipDestino="10.10.20.27") + absObj = ABSClient(ipDestino="10.10.10.97") self.output = absObj.sendFile(filename) #pass else: