Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
imanay
- Wed, 15 May 2013 19:44:37
Show More
0
trunk/absroot/source/abspy/scripts/changeBeam.py
trunk/absroot/source/abspy/scripts/changeBeam.py
+5
-2
@@
-8,11
+8,14
8
class changeBeam ( object ):
8
class changeBeam ( object ):
9
9
10
def __init__ ( self ):
10
def __init__ ( self ):
11
pass
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 . changeBeam ( beam )
15
self . output = absObj . changeBeam ( beam )
16
17
def getOutput ( self ):
18
return self . output
16
19
17
20
18
usage = ":::::::::::: \n "
21
usage = ":::::::::::: \n "
0
trunk/absroot/source/abspy/scripts/file.py
trunk/absroot/source/abspy/scripts/file.py
+1
-1
@@
-4,6
+4,6
4
path1 = os . getcwd ()
4
path1 = os . getcwd ()
5
lst1 = path1 . split ( "/" )
5
lst1 = path1 . split ( "/" )
6
lst1 . remove ( "scripts" )
6
lst1 . remove ( "scripts" )
7
lst1 . append ( "abscontrol" )
7
lst1 . append ( "bin " )
8
path2 = "/" . join ( lst1 )
8
path2 = "/" . join ( lst1 )
9
sys . path . insert ( 0 , path2 )
No newline at end of file
9
sys . path . insert ( 0 , path2 )
0
trunk/absroot/source/abspy/scripts/sendFile.py
trunk/absroot/source/abspy/scripts/sendFile.py
+5
-2
@@
-9,15
+9,18
9
class sendFile ( object ):
9
class sendFile ( object ):
10
10
11
def __init__ ( self ):
11
def __init__ ( self ):
12
pass
12
self . output = ""
13
13
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 . sendFile ( filename )
17
self . output = absObj . sendFile ( filename )
18
#pass
18
#pass
19
else :
19
else :
20
print "No file"
20
print "No file"
21
22
def getOutput ( self ):
23
return self . output
21
24
22
usage = ":::::::::::: \n "
25
usage = ":::::::::::: \n "
23
26
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages