diff options
author | Arvin Schnell <aschnell@suse.de> | 2007-07-23 14:24:58 +0000 |
---|---|---|
committer | Arvin Schnell <aschnell@suse.de> | 2007-07-23 14:24:58 +0000 |
commit | b2ba831812943323c32d06f5c2cd1fcb3c1eddd9 (patch) | |
tree | 363772a94a14640532dce34d0143950603584df4 /examples | |
parent | 05dc044b676d7126de3565c9aa40d18d1ec16483 (diff) | |
download | libzypp-bindings-b2ba831812943323c32d06f5c2cd1fcb3c1eddd9.tar.gz libzypp-bindings-b2ba831812943323c32d06f5c2cd1fcb3c1eddd9.tar.bz2 libzypp-bindings-b2ba831812943323c32d06f5c2cd1fcb3c1eddd9.zip |
- first tiny unfinished Python example
Diffstat (limited to 'examples')
-rw-r--r-- | examples/python/list_target_resolvables.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/python/list_target_resolvables.py b/examples/python/list_target_resolvables.py new file mode 100644 index 0000000..160ff7f --- /dev/null +++ b/examples/python/list_target_resolvables.py @@ -0,0 +1,11 @@ + +from zypp import ZYppFactory + +z = ZYppFactory.instance().getZYpp() + +z.initializeTarget ("/") + +r = z.target().resolvables() + +# TODO: display resolvables + |