diff mbox series

swupdateclient: Fix import path in README.md

Message ID 20230531115005.310626-1-ayoub.zaki@embetrix.com
State Accepted
Headers show
Series swupdateclient: Fix import path in README.md | expand

Commit Message

Ayoub Zaki May 31, 2023, 11:50 a.m. UTC
Signed-off-by: Ayoub Zaki <ayoub.zaki@embetrix.com>
---
 tools/python/swupdateclient/README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stefano Babic May 31, 2023, 3:07 p.m. UTC | #1
Hi Ayoub,

On 31.05.23 13:50, Ayoub Zaki wrote:
> Signed-off-by: Ayoub Zaki <ayoub.zaki@embetrix.com>
> ---
>   tools/python/swupdateclient/README.md | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/python/swupdateclient/README.md b/tools/python/swupdateclient/README.md
> index 84e2ac3..50bd8cf 100644
> --- a/tools/python/swupdateclient/README.md
> +++ b/tools/python/swupdateclient/README.md
> @@ -33,7 +33,7 @@ pipenv run swupdateclient <path-to-swu> <host_name> [port]
>   ## Development
>   ### Import from another python program
>   ```
> -from swupdate_client import SWUpdater
> +from swupdateclient.main import SWUpdater
>   
>   updater = SWUpdater("path-to-swu", "host-name")
>   if updater.update():

Applied to -master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/tools/python/swupdateclient/README.md b/tools/python/swupdateclient/README.md
index 84e2ac3..50bd8cf 100644
--- a/tools/python/swupdateclient/README.md
+++ b/tools/python/swupdateclient/README.md
@@ -33,7 +33,7 @@  pipenv run swupdateclient <path-to-swu> <host_name> [port]
 ## Development
 ### Import from another python program
 ```
-from swupdate_client import SWUpdater
+from swupdateclient.main import SWUpdater
 
 updater = SWUpdater("path-to-swu", "host-name")
 if updater.update():