Преглед на файлове

Fix problem in getFreePort for tests

Yentl Van Tendeloo преди 9 години
родител
ревизия
406d931888
променени са 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