Initial port to python3
[htsworkflow.git] / htsworkflow / frontend / reports / utils.py
index 7b2d1b8e00057994d1f9b0d8112ad0e87b2bc9e8..e42c26c921846ab13cb1002788358d7144f22502 100644 (file)
@@ -30,7 +30,7 @@ def unique(s):
   except TypeError:
       del u  # move on to the next method                                                                                                                                                                                                                    
   else:
-      return u.keys()
+      return list(u.keys())
   # We can't hash all the elements.  Second fastest is to sort,                                                                                                                                                                                              
   # which brings the equal elements together; then duplicates are                                                                                                                                                                                            
   # easy to weed out in a single pass.