Guest User

Untitled

a guest
Oct 11th, 2014
189
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/distbuild/worker_build_scheduler.py b/distbuild/worker_build_scheduler.py
  2. index 6cda597..581aa0d 100644
  3. --- a/distbuild/worker_build_scheduler.py
  4. +++ b/distbuild/worker_build_scheduler.py
  5. @@ -378,8 +378,7 @@ class WorkerConnection(distbuild.StateMachine):
  6. self._debug_json = False
  7.  
  8. addr, port = self._conn.getpeername()
  9. - name = socket.getfqdn(addr)
  10. - self._worker_name = '%s:%s' % (name, port)
  11. + self._worker_name = '%s:%s' % (addr, port)
  12.  
  13. def name(self):
  14. return self._worker_name
RAW Paste Data