This commit is contained in:
14
script/TestRet.py
Normal file
14
script/TestRet.py
Normal file
@@ -0,0 +1,14 @@
|
||||
#print __name__
|
||||
#from startup import *
|
||||
|
||||
is_panel = get_exec_pars().source != CommandSource.ui #Must be checked before callin "run"
|
||||
|
||||
|
||||
print is_panel, get_exec_pars().source
|
||||
ret = []
|
||||
|
||||
for i in range(10):
|
||||
ret.extend([i])
|
||||
print "OK"
|
||||
|
||||
set_return(ret)
|
||||
Reference in New Issue
Block a user