allpy
diff lib/block.py @ 131:d591f3caf6fb
lib.block.__init__ explicit copy
author | boris <bnagaev@gmail.com> |
---|---|
date | Sun, 24 Oct 2010 10:59:38 +0400 |
parents | 89de20cda19c |
children | 4b7a31ae5faa |
line diff
1.1 --- a/lib/block.py Sun Oct 24 00:32:48 2010 +0400 1.2 +++ b/lib/block.py Sun Oct 24 10:59:38 2010 +0400 1.3 @@ -32,7 +32,7 @@ 1.4 if positions==None, all positions are used 1.5 """ 1.6 if sequences == None: 1.7 - sequences = list(project.sequences) 1.8 + sequences = copy(project.sequences) 1.9 if positions == None: 1.10 positions = range(len(project)) 1.11 self.project = project