r952 - in /python-xml/trunk: debian/changelog demo/xbel/xbel_parse.py

lunar at users.alioth.debian.org lunar at users.alioth.debian.org
Wed Jul 18 12:17:12 UTC 2007


Author: lunar
Date: Wed Jul 18 12:17:12 2007
New Revision: 952

URL: http://svn.debian.org/wsvn/pkg-zope/?sc=1&rev=952
Log:
* Redirect xbel_parse output to stderr.  (Closes: #233619)

Modified:
    python-xml/trunk/debian/changelog
    python-xml/trunk/demo/xbel/xbel_parse.py

Modified: python-xml/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-zope/python-xml/trunk/debian/changelog?rev=952&op=diff
==============================================================================
--- python-xml/trunk/debian/changelog (original)
+++ python-xml/trunk/debian/changelog Wed Jul 18 12:17:12 2007
@@ -7,8 +7,9 @@
   * Fix an encoding issue when converting from xbel to netscape by removing
     a mixed conversion of ascii and unicode strings in Folder.dump_netscape.
     (Closes: #409779)
-
- -- Jérémy Bobbio <lunar at debian.org>  Wed, 18 Jul 2007 13:14:20 +0200
+  * Redirect xbel_parse output to stderr.  (Closes: #233619)
+
+ -- Jérémy Bobbio <lunar at debian.org>  Wed, 18 Jul 2007 14:16:57 +0200
 
 python-xml (0.8.4-7) unstable; urgency=low
 

Modified: python-xml/trunk/demo/xbel/xbel_parse.py
URL: http://svn.debian.org/wsvn/pkg-zope/python-xml/trunk/demo/xbel/xbel_parse.py?rev=952&op=diff
==============================================================================
--- python-xml/trunk/demo/xbel/xbel_parse.py (original)
+++ python-xml/trunk/demo/xbel/xbel_parse.py Wed Jul 18 12:17:12 2007
@@ -88,13 +88,13 @@
     opts, args = getopt.getopt(sys.argv[1:], '',
                                ['opera', 'netscape', 'lynx=', 'msie', 'xbel'] )
     if len(args):
-        print 'xbel_parse only reads from standard input'
+        print >>sys.stderr, 'xbel_parse only reads from standard input'
         sys.exit(1)
     if len(opts)>1 or len(opts)==0:
-        print 'You must specify a single output format when running xbel_parse'
-        print 'Available formats: --opera, --netscape, --msie, --lynx, --xbel'
-        print '    --lynx <path> : For Lynx, a path to the directory where'
-        print '                    the output bookmark files should be written'
+        print >>sys.stderr, 'You must specify a single output format when running xbel_parse'
+        print >>sys.stderr, 'Available formats: --opera, --netscape, --msie, --lynx, --xbel'
+        print >>sys.stderr, '    --lynx <path> : For Lynx, a path to the directory where'
+        print >>sys.stderr, '                    the output bookmark files should be written'
         sys.exit(1)
 
     xbel_handler = XBELHandler()




More information about the pkg-zope-commits mailing list