~brian.curtin/ubuntu-sso-client/py3-iter-removal

« back to all changes in this revision

Viewing changes to bin/ubuntu-sso-login-qt

  • Committer: Tarmac
  • Author(s): Manuel de la Pena, Manuel de la Pena
  • Date: 2012-05-18 14:25:49 UTC
  • mfrom: (940.3.22 use-unix-domain)
  • Revision ID: tarmac-20120518142549-drg8ft4uelddddl1
Added support for domain sockets in the tcpactivation and the ipc on darwin which removed the need of using random ports (LP: #984665).

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
# Access to a protected member, pylint: disable=W0212
34
34
 
35
35
import sys
36
 
if sys.platform == 'win32':
 
36
if sys.platform in ('win32', 'darwin'):
 
37
    from PyQt4 import QtGui
 
38
    app = QtGui.QApplication(sys.argv)
37
39
    import qt4reactor
38
40
    qt4reactor.install()
39
41