[Python-modules-commits] r1270 - /packages/python-mysqldb/trunk/debian/patches/03_converters_set2str.dpatch

mejo at users.alioth.debian.org mejo at users.alioth.debian.org
Fri Aug 18 11:55:34 UTC 2006


Author: mejo
Date: Fri Aug 18 11:55:33 2006
New Revision: 1270

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1270
Log:
polish the patch

Modified:
    packages/python-mysqldb/trunk/debian/patches/03_converters_set2str.dpatch

Modified: packages/python-mysqldb/trunk/debian/patches/03_converters_set2str.dpatch
URL: http://svn.debian.org/wsvn/python-modules/packages/python-mysqldb/trunk/debian/patches/03_converters_set2str.dpatch?rev=1270&op=diff
==============================================================================
--- packages/python-mysqldb/trunk/debian/patches/03_converters_set2str.dpatch (original)
+++ packages/python-mysqldb/trunk/debian/patches/03_converters_set2str.dpatch Fri Aug 18 11:55:33 2006
@@ -1,27 +1,13 @@
-#! /bin/sh -e
-# 03_converters_set2str.dpatch by Simeon Anastasov
-
-#
-# All lines beginning with `## DP:' are a description of the patch.
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 03_converters_set2str.dpatch by Simeon Anastasov
+##
+## All lines beginning with `## DP:' are a description of the patch.
 ## DP: fix set2str
 
-if [ $# -ne 1 ]; then
-    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
-    exit 1
-fi
-case "$1" in
-    -patch) patch -f --no-backup-if-mismatch -p1 < $0;;
-    -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
-    *)
-        echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
-        exit 1;;
-esac
+ at DPATCH@
 
-exit 0
-
- at DPATCH@
---- converters.py.orig	2006-06-26 01:35:43.000000000 +0200
-+++ converters.py	2006-06-26 01:35:56.000000000 +0200
+--- converters.py.orig
++++ converters.py
 @@ -42,7 +42,9 @@
  def Bool2Str(s, d): return str(int(s))
  




More information about the Python-modules-commits mailing list