[Pkg-asciidoc-commits] r92 - trunk/debian/patches

Alexander Wirt formorer at alioth.debian.org
Sun Nov 28 13:14:43 UTC 2010


Author: formorer
Date: 2010-11-28 13:14:36 +0000 (Sun, 28 Nov 2010)
New Revision: 92

Modified:
   trunk/debian/patches/fix_asciidoc_api_doc.dpatch
Log:
Another cleanup


Modified: trunk/debian/patches/fix_asciidoc_api_doc.dpatch
===================================================================
--- trunk/debian/patches/fix_asciidoc_api_doc.dpatch	2010-11-28 13:13:02 UTC (rev 91)
+++ trunk/debian/patches/fix_asciidoc_api_doc.dpatch	2010-11-28 13:14:36 UTC (rev 92)
@@ -56,33 +56,4 @@
  >>> import StringIO
  >>> infile = StringIO.StringIO('Hello *{author}*')
  >>> outfile = StringIO.StringIO()
-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' asciidoc-8.6.3~/tests/asciidocapi.py asciidoc-8.6.3/tests/asciidocapi.py
---- asciidoc-8.6.3~/tests/asciidocapi.py	2010-02-06 04:19:59.000000000 +0100
-+++ asciidoc-8.6.3/tests/asciidocapi.py	2010-11-28 14:09:07.002140339 +0100
-@@ -5,6 +5,8 @@
- The AsciiDocAPI class provides an API for executing asciidoc. Minimal example
- compiles `mydoc.txt` to `mydoc.html`:
- 
-+  import sys
-+  sys.path.append("/usr/share/asciidoc")
-   import asciidocapi
-   asciidoc = asciidocapi.AsciiDocAPI()
-   asciidoc.execute('mydoc.txt')
-@@ -17,6 +19,8 @@
- 1. Check execution:
- 
-    >>> import StringIO
-+   >>> import sys
-+   >>> sys.path.append("/usr/share/asciidoc")
-    >>> infile = StringIO.StringIO('Hello *{author}*')
-    >>> outfile = StringIO.StringIO()
-    >>> asciidoc = AsciiDocAPI()
-@@ -36,6 +40,8 @@
- 2. Check error handling:
- 
-    >>> import StringIO
-+   >>> import sys
-+   >>> sys.path.append("/usr/share/asciidoc")
-    >>> asciidoc = AsciiDocAPI()
-    >>> infile = StringIO.StringIO('---------')
-    >>> outfile = StringIO.StringIO()
+




More information about the Pkg-asciidoc-commits mailing list