diff --git a/cellframe-sdk b/cellframe-sdk index 986fc5a916307a01c1ec64bb53f5e1932509544c..f94212973623702bff498780fc2d0426e595d5ec 160000 --- a/cellframe-sdk +++ b/cellframe-sdk @@ -1 +1 @@ -Subproject commit 986fc5a916307a01c1ec64bb53f5e1932509544c +Subproject commit f94212973623702bff498780fc2d0426e595d5ec diff --git a/dists/examples/0.Beginning/MyChains.py b/dists/examples/0.Beginning/MyChains.py index e4e7279d2fbe5603635ebc74cd058d63369866cf..4941f3f6dd31e629c0d8503e3a6b7ec2b5e100bc 100755 --- a/dists/examples/0.Beginning/MyChains.py +++ b/dists/examples/0.Beginning/MyChains.py @@ -1,6 +1,6 @@ #!/usr/bin/python3 # CellFrame SDK.Python v0.9-4 Example Application #0 -from CellFrame.libCellFrame import * +from CellFrame import * import os app_name = "MyChains" diff --git a/dists/examples/0.Beginning/MyChainsCli.py b/dists/examples/0.Beginning/MyChainsCli.py index 40298a1ba49eb7663280ac6db8f86139e72eaa94..6ff17585aba61c27ee7b14718f340e404502c335 100755 --- a/dists/examples/0.Beginning/MyChainsCli.py +++ b/dists/examples/0.Beginning/MyChainsCli.py @@ -2,7 +2,7 @@ import sys import os -from CellFrame.libCellFrame import * +from CellFrame import * app_name="MyChains" tmp_dir = os.getcwd() + "/tmp" diff --git a/dists/examples/1.Authority/MyAuthCmd.py b/dists/examples/1.Authority/MyAuthCmd.py index 96a0c661a41be79fbb67ce913ce9a784f89bff78..22496bd7cf193f263a60b04fb7d56a3d94e4cfcc 100644 --- a/dists/examples/1.Authority/MyAuthCmd.py +++ b/dists/examples/1.Authority/MyAuthCmd.py @@ -1,10 +1,10 @@ from CellFrame.libCellFrame import * -def cmdUser(*argv): +def cmdUser(argv, strReply): reply="user managment command:\n" for arg in argv: reply+=" arg"+str(arg)+"=\""+arg+"\"\n" - setReplyText(reply) + AppCliServer.setReplyText(reply, strReply) def init(): AppCliServer.cmdItemCreate("user",cmdUser,"User managment command","""