python: README: cleanup reStructuredText syntax.
authorW. Trevor King <wking@tremily.us>
Fri, 19 Oct 2012 04:10:20 +0000 (00:10 -0400)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 25 Mar 2014 03:34:15 +0000 (00:34 -0300)
libkmod/python/README

index 53a238a..1e72c15 100644 (file)
@@ -20,28 +20,21 @@ https://github.com/agrover/python-kmod
 Example (python invoked as root)
 --------------------------------
 
->>>import kmod
-
->>>km = kmod.Kmod()
-
->>>km.loaded_modules()
-
-[('nfs', 407706),
- ('nfs_acl', 12741)
-
-...
-
- ('virtio_blk', 17549)]
-
->>>km.modprobe("btrfs")
-
->>>km.rmmod("btrfs")
+::
+
+  >>> import kmod
+  >>> km = kmod.Kmod()
+  >>> km.loaded_modules()
+  [('nfs', 407706),
+   ('nfs_acl', 12741)
+   ...
+   ('virtio_blk', 17549)]
+  >>> km.modprobe("btrfs")
+  >>> km.rmmod("btrfs")
 
 Building
 --------
 
-Ensure Python and kmod headers are installed and run:
-
-python setup.py build
-
+Ensure Python and kmod headers are installed and run::
 
+  $ python setup.py build