~dobey/ubuntu-sso-client/update-4-2

« back to all changes in this revision

Viewing changes to ubuntu_sso/qt/main/__init__.py

  • Committer: Rodney Dawes
  • Date: 2013-01-09 22:23:57 UTC
  • mfrom: (1011.1.1 update-4-2)
  • Revision ID: rodney.dawes@canonical.com-20130109222357-3jqwkv44hzger1vl
[Mike McCracken]

    - Add util func returning translation function for platform/pyversion/frozen status. (LP: #1074116)

[Rodney Dawes]

    - Ignore some new pep8 errors, and update code to fix others.

[Brian Curtin]

    - Use states from networkstates instead of re-defining them locally.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
def main(**kwargs):
54
54
    """Start the QT mainloop and open the main window."""
55
55
    if os.environ.get('TESTABILITY', False) and \
56
 
        '-testability' not in sys.argv:
 
56
            '-testability' not in sys.argv:
57
57
        sys.argv.append('-testability')
58
58
    app = QtGui.QApplication(sys.argv)
59
59