Permalink
Browse files

Remove unused variables (found with pylint).

  • Loading branch information...
1 parent d661731 commit 26ef34dd1b8e6a1feeb8cf9d840a1bf487966f2b @cbrueffer cbrueffer committed with peterjc Dec 17, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −1 Bio/Blast/NCBIStandalone.py
  2. +0 −1 Bio/Crystal/__init__.py
  3. +0 −2 Bio/PDB/StructureAlignment.py
View
2 Bio/Blast/NCBIStandalone.py
@@ -2188,7 +2188,7 @@ def parse(self, handle):
try:
self._scanner.feed(StringIO.StringIO(results), self._consumer)
- except ValueError, msg:
+ except ValueError:
# if we have a bad_report_file, save the info to it first
if self._bad_report_handle:
# send the info to the error handle
View
1 Bio/Crystal/__init__.py
@@ -101,7 +101,6 @@ def validate_element(self, element):
def __str__(self):
output = ''
- i = 0
for element in self.data:
output = output + '%s ' % element
output = output.strip()
View
2 Bio/PDB/StructureAlignment.py
@@ -26,8 +26,6 @@ def __init__(self, fasta_align, m1, m2, si=0, sj=1):
correspond to the structures
"""
l=fasta_align.get_alignment_length()
- s1=fasta_align.get_seq_by_num(si)
- s2=fasta_align.get_seq_by_num(sj)
# Get the residues in the models
rl1=Selection.unfold_entities(m1, 'R')
rl2=Selection.unfold_entities(m2, 'R')

0 comments on commit 26ef34d

Please sign in to comment.