コード例 #1
0
    def api(self, destfile=None):
        localdef_dest = False
        if destfile == None:
            localdef_dest = True
            destfile = cStringIO.StringIO()

        SandboxResource.api(self, destfile=destfile)
        print >>destfile, '\n'
        Device.api(self, destfile=destfile)

        if localdef_dest:
            pydoc.pager(destfile.getvalue())
            destfile.close()
コード例 #2
0
ファイル: ide.py プロジェクト: a100lesserfaces/framework-core
 def api(self):
     IDESandboxComponent.api(self)
     print
     Device.api(self)
コード例 #3
0
ファイル: local.py プロジェクト: RedhawkSDR/framework-core
 def api(self):
     LocalSandboxComponent.api(self)
     print
     Device.api(self)
コード例 #4
0
 def api(self):
     LocalSandboxComponent.api(self)
     print
     Device.api(self)
コード例 #5
0
 def api(self):
     SandboxResource.api(self)
     print
     Device.api(self)
コード例 #6
0
ファイル: ide.py プロジェクト: horn545/framework-core
 def api(self):
     IDESandboxComponent.api(self)
     print
     Device.api(self)