diff options
author | Klaus Kämpf <kkaempf@suse.de> | 2010-10-19 13:58:06 +0200 |
---|---|---|
committer | Klaus Kämpf <kkaempf@suse.de> | 2010-10-19 13:58:06 +0200 |
commit | b9eae00ec3614a551180993433e206eb13aaabcd (patch) | |
tree | 40359fdd7ce7ee0a63360748f2ef0306057495cc /examples | |
parent | 428304132264aa6f7482664885baa8361b6d1645 (diff) | |
download | libzypp-bindings-b9eae00ec3614a551180993433e206eb13aaabcd.tar.gz libzypp-bindings-b9eae00ec3614a551180993433e206eb13aaabcd.tar.bz2 libzypp-bindings-b9eae00ec3614a551180993433e206eb13aaabcd.zip |
Use just built bindings in example
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/python/keyring.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/python/keyring.py b/examples/python/keyring.py index 7758aa1..83cf5ff 100755 --- a/examples/python/keyring.py +++ b/examples/python/keyring.py @@ -1,5 +1,11 @@ #!/usr/bin/python +# test loading of pywsman +import sys + +# cmake build dir +sys.path.insert(0, '../../build/swig/python') + from zypp import ZYppFactory, Pathname, KeyRing, PublicKey |