コード例 #1
0
def _main(cmd):
    scope = model.scope(cmd)
    if cmd.Break:
        TFL.Environment.py_shell()
    c = Convert(cmd, scope)
    #c.dump ()
    c.create()
    scope.commit()
    scope.ems.compact()
    scope.destroy()
コード例 #2
0
ファイル: convert_graz.py プロジェクト: IngoGaucho/FFM
def _main (cmd) :
    scope = model.scope (cmd)
    if cmd.Break :
        TFL.Environment.py_shell ()
    c = Convert (cmd, scope)
    #c.dump ()
    c.create ()
    scope.commit ()
    scope.ems.compact ()
    scope.destroy ()
コード例 #3
0
ファイル: convert_0xff.py プロジェクト: FFM/FFM
def _main(cmd):
    scope = model.scope(cmd)
    if cmd.Break:
        TFL.Environment.py_shell()
    c = Convert(cmd, scope, debug=False)
    # c.dump ()
    c.create()
    scope.commit()
    scope.ems.compact()
    scope.destroy()
    model.command._handle_load_auth_mig(cmd, mig_auth_file=model.command.default_mig_auth_file + ".0xff")
コード例 #4
0
def _main (cmd) :
    scope = model.scope (cmd)
    if cmd.Break :
        TFL.Environment.py_shell ()
    c = Convert (cmd.argv, scope)
    for k in sorted (c.attrs.iterkeys ()) :
        print k
    scope.commit ()
    scope.ems.compact ()
    scope.destroy ()
    model.command._handle_load_auth_mig \
        (cmd, mig_auth_file = model.command.default_mig_auth_file + ".cnml")
コード例 #5
0
def _main(cmd):
    scope = model.scope(cmd)
    if cmd.Break:
        TFL.Environment.py_shell()
    c = Convert(cmd, scope, debug=False)
    #c.dump ()
    c.create()
    scope.commit()
    scope.ems.compact()
    scope.destroy()
    model.command._handle_load_auth_mig \
        (cmd, mig_auth_file = model.command.default_mig_auth_file + ".0xff")