summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKlaus Kämpf <kkaempf@suse.de>2010-10-19 13:58:06 +0200
committerKlaus Kämpf <kkaempf@suse.de>2010-10-19 13:58:06 +0200
commitb9eae00ec3614a551180993433e206eb13aaabcd (patch)
tree40359fdd7ce7ee0a63360748f2ef0306057495cc /examples
parent428304132264aa6f7482664885baa8361b6d1645 (diff)
downloadlibzypp-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-xexamples/python/keyring.py6
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