From 269b671cc5f0d1ffc213b097251c97143beed75a Mon Sep 17 00:00:00 2001 From: "alexey.stratulat" <alexey.stratulat@demlabs.net> Date: Wed, 15 Apr 2020 17:42:44 +0000 Subject: [PATCH] Fix and updated --- cellframe-sdk | 2 +- dists/examples/0.Beginning/MyChains.py | 2 +- dists/examples/0.Beginning/MyChainsCli.py | 2 +- dists/examples/1.Authority/MyAuthCmd.py | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cellframe-sdk b/cellframe-sdk index 986fc5a9..f9421297 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 e4e7279d..4941f3f6 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 40298a1b..6ff17585 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 96a0c661..22496bd7 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",""" -- GitLab