瀏覽代碼

Fix problem in getFreePort for tests

Yentl Van Tendeloo 9 年之前
父節點
當前提交
624ebd7dac
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      integration/utils.py

+ 1 - 1
integration/utils.py

@@ -29,7 +29,7 @@ def getFreePort():
                     exists = True
                 else:
                     # We seem to be the second entry, so chose another one
-                    p.remove(port)
+                    ports.remove(port)
                     break
         else:
             # Didn't find a duplicate