(list)
| 35 | # |
| 36 | # # Function needed to make unique lists. |
| 37 | def unique(list): |
| 38 | ret_list = [] |
| 39 | dict = {} |
| 40 | for item in list: |
| 41 | if not dict.has_key(item): |
| 42 | dict[item] = '' |
| 43 | ret_list.append( item ) |
| 44 | return ret_list |
| 45 | |
| 46 | |
| 47 | # --------------------------------------------------------------------------- |