Mercurial > repos > bimib > marea
comparison Marea/marea.py @ 12:3d77287caf22 draft
Uploaded
author | bimib |
---|---|
date | Wed, 13 Feb 2019 05:08:25 -0500 |
parents | 7c76e8e319c2 |
children | e96f3b85e5a0 |
comparison
equal
deleted
inserted
replaced
11:d185506631e1 | 12:3d77287caf22 |
---|---|
454 tmpAnd.append(l[1]) | 454 tmpAnd.append(l[1]) |
455 l = l[2:] | 455 l = l[2:] |
456 elif l[0] == 'or': | 456 elif l[0] == 'or': |
457 flag = False | 457 flag = False |
458 break | 458 break |
459 if flag == True: #when there are only AND in list | 459 if flag == True: #se ci sono solo AND nella lista |
460 tmp.extend(tmpAnd) | 460 tmp.extend(tmpAnd) |
461 elif flag == False: | 461 elif flag == False: |
462 tmp.append(tmpAnd) | 462 tmp.append(tmpAnd) |
463 return tmp | 463 return tmp |
464 | 464 |