~ubuntu-branches/ubuntu/trusty/python-biopython/trusty-proposed

« back to all changes in this revision

Viewing changes to Bio/PDB/Dice.py

  • Committer: Bazaar Package Importer
  • Author(s): Philipp Benner
  • Date: 2009-08-24 09:29:27 UTC
  • mfrom: (1.3.3 upstream) (4.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090824092927-2wwh36vwnfgn98kl
Tags: 1.51final-2
Merged patch from ubuntu to make the package ready for
python2.6 (Closes: #543236).

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
            return 0
43
43
        if icode!=" ":
44
44
            warnings.warn("WARNING: Icode at %s" % residue.get_id(),
45
 
                          RuntimeError)
 
45
                          RuntimeWarning)
46
46
        if self.start<=resseq<=self.end:
47
47
            return 1
48
48
        return 0