[Python-modules-commits] r6925 - in packages/python-uniconvertor/trunk/debian/patches (1 file)
awen-guest at users.alioth.debian.org
awen-guest at users.alioth.debian.org
Sat Nov 22 11:08:51 UTC 2008
Date: Saturday, November 22, 2008 @ 11:08:50
Author: awen-guest
Revision: 6925
description added to patch
Modified:
packages/python-uniconvertor/trunk/debian/patches/04_no_exit_on_import.dpatch
Modified: packages/python-uniconvertor/trunk/debian/patches/04_no_exit_on_import.dpatch
===================================================================
--- packages/python-uniconvertor/trunk/debian/patches/04_no_exit_on_import.dpatch 2008-11-21 13:42:27 UTC (rev 6924)
+++ packages/python-uniconvertor/trunk/debian/patches/04_no_exit_on_import.dpatch 2008-11-22 11:08:50 UTC (rev 6925)
@@ -1,8 +1,9 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
-## 03_no_exit_on_import.dpatch by Andreas Wenning <awen at awen.dk>
+## 04_no_exit_on_import.dpatch by Andreas Wenning <awen at awen.dk>
##
## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
+## DP: Change the __init__.py to only run when calling the main function
+## DP: this prevents sys.exit() being called when doing an import.
@DPATCH@
diff -urNad python-uniconvertor-1.1.2~/src/__init__.py python-uniconvertor-1.1.2/src/__init__.py
More information about the Python-modules-commits
mailing list