diff options
Diffstat (limited to 'python/qmf/console.py')
-rw-r--r-- | python/qmf/console.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/qmf/console.py b/python/qmf/console.py index abc0929955..39ef157f82 100644 --- a/python/qmf/console.py +++ b/python/qmf/console.py @@ -20,6 +20,7 @@ """ Console API for Qpid Management Framework """ import os +import platform import qpid import struct import socket @@ -1243,7 +1244,7 @@ class Broker: self.error = None self.brokerId = None self.connected = False - self.amqpSessionId = "%s.%d.%d" % (os.uname()[1], os.getpid(), Broker.nextSeq) + self.amqpSessionId = "%s.%d.%d" % (platform.uname()[1], os.getpid(), Broker.nextSeq) Broker.nextSeq += 1 if self.session.manageConnections: self.thread = ManagedConnection(self) |