doc/source/vmm.rst
branchv0.6.x
changeset 212 77ac6f572855
parent 209 c705a9e38962
child 215 33f727efa7c4
--- a/doc/source/vmm.rst	Mon Feb 22 10:44:13 2010 +0000
+++ b/doc/source/vmm.rst	Wed Feb 24 04:01:48 2010 +0000
@@ -118,28 +118,28 @@
 Examples
 --------
 
-    >>> from VirtualMailManager import *
-    >>> ace2idna('xn--pypal-4ve.tld')
-    u'p\u0430ypal.tld'
-    >>> idn2ascii(u'öko.de')
-    'xn--ko-eka.de'
-    >>> check_domainname(u'pаypal.tld')
-    'xn--pypal-4ve.tld'
-    >>> check_localpart('john.doe')
-    'john.doe'
-    >>> exec_ok('usr/bin/vim')
-    Traceback (most recent call last):
-      File "<stdin>", line 1, in <module>
-      File "./VirtualMailManager/__init__.py", line 93, in exec_ok
-        NO_SUCH_BINARY)
-    VirtualMailManager.Exceptions.VMMException: 'usr/bin/vim' is not a file
-    >>> exec_ok('/usr/bin/vim')
-    '/usr/bin/vim'
-    >>> expand_path('.')
-    '/home/user/hg/vmm'
-    >>> get_unicode('hello world')
-    u'hello world'
-    >>> is_dir('~/hg')
-    '/home/user/hg'
-    >>> 
+  >>> from VirtualMailManager import *
+  >>> ace2idna('xn--pypal-4ve.tld')
+  u'p\u0430ypal.tld'
+  >>> idn2ascii(u'öko.de')
+  'xn--ko-eka.de'
+  >>> check_domainname(u'pаypal.tld')
+  'xn--pypal-4ve.tld'
+  >>> check_localpart('john.doe')
+  'john.doe'
+  >>> exec_ok('usr/bin/vim')
+  Traceback (most recent call last):
+    File "<stdin>", line 1, in <module>
+    File "./VirtualMailManager/__init__.py", line 93, in exec_ok
+      NO_SUCH_BINARY)
+  VirtualMailManager.Exceptions.VMMException: 'usr/bin/vim' is not a file
+  >>> exec_ok('/usr/bin/vim')
+  '/usr/bin/vim'
+  >>> expand_path('.')
+  '/home/user/hg/vmm'
+  >>> get_unicode('hello world')
+  u'hello world'
+  >>> is_dir('~/hg')
+  '/home/user/hg'
+  >>>