[med-svn] r2053 - trunk/packages/pdb2pqr/trunk/debian/patches
hauro-guest at alioth.debian.org
hauro-guest at alioth.debian.org
Thu Jun 12 13:35:07 UTC 2008
Author: hauro-guest
Date: 2008-06-12 13:35:05 +0000 (Thu, 12 Jun 2008)
New Revision: 2053
Added:
trunk/packages/pdb2pqr/trunk/debian/patches/fix-syntax-warnings.patch
Modified:
trunk/packages/pdb2pqr/trunk/debian/patches/series
Log:
Added a patch to fix syntax warnings
Added: trunk/packages/pdb2pqr/trunk/debian/patches/fix-syntax-warnings.patch
===================================================================
--- trunk/packages/pdb2pqr/trunk/debian/patches/fix-syntax-warnings.patch (rev 0)
+++ trunk/packages/pdb2pqr/trunk/debian/patches/fix-syntax-warnings.patch 2008-06-12 13:35:05 UTC (rev 2053)
@@ -0,0 +1,20 @@
+Index: pdb2pqr-1.3.0/pdb2pka/ligand_topology.py
+===================================================================
+--- pdb2pqr-1.3.0.orig/pdb2pka/ligand_topology.py 2008-06-12 15:23:28.000000000 +0200
++++ pdb2pqr-1.3.0/pdb2pka/ligand_topology.py 2008-06-12 15:24:22.000000000 +0200
+@@ -10,6 +10,7 @@
+
+ from sets import Set
+ from ligandclean.trial_templates import *
++from types import *
+
+ def length(vector):
+ # This function returns the length of vector
+@@ -387,7 +388,6 @@
+ #
+ # Reformat the lists of lists of lists of ... that we get from the ring detection
+ #
+- from types import *
+ if type(item) is ListType:
+ real_list=[]
+ for sub_item in item:
Modified: trunk/packages/pdb2pqr/trunk/debian/patches/series
===================================================================
--- trunk/packages/pdb2pqr/trunk/debian/patches/series 2008-06-12 13:19:04 UTC (rev 2052)
+++ trunk/packages/pdb2pqr/trunk/debian/patches/series 2008-06-12 13:35:05 UTC (rev 2053)
@@ -1 +1,2 @@
build-gcc-4.3.patch
+fix-syntax-warnings.patch
More information about the debian-med-commit
mailing list