Author: aschnell Date: Sat May 16 13:53:12 2009 New Revision: 57212 URL: http://svn.opensuse.org/viewcvs/yast?rev=57212&view=rev Log: - added example Added: trunk/storage/libstorage/bindings/python/graph.py (with props) Added: trunk/storage/libstorage/bindings/python/graph.py URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/bindings/pytho... ============================================================================== --- trunk/storage/libstorage/bindings/python/graph.py (added) +++ trunk/storage/libstorage/bindings/python/graph.py Sat May 16 13:53:12 2009 @@ -0,0 +1,12 @@ +#!/usr/bin/python + +from LibStorage import Environment, createStorageInterface, saveGraph, destroyStorageInterface + + +env = Environment(True) + +c = createStorageInterface(env) + +saveGraph(c, "storage.gv") + +destroyStorageInterface(c) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org