~diegosarmentero/ubuntuone-windows-installer/captcha-refresh

« back to all changes in this revision

Viewing changes to ubuntuone_installer/gui/qt/main/__init__.py

  • Committer: Roberto Alsina
  • Date: 2011-06-21 15:41:55 UTC
  • mto: This revision was merged to the branch mainline in revision 2.
  • Revision ID: roberto.alsina@canonical.com-20110621154155-fgdqm07bynya3hzf
Enough code to open an empty wizard

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
 
 
3
# Authors: Manuel de la Pena <manuel@canonical.com>
 
4
#
 
5
# Copyright 2011 Canonical Ltd.
 
6
#
 
7
# This program is free software: you can redistribute it and/or modify it
 
8
# under the terms of the GNU General Public License version 3, as published
 
9
# by the Free Software Foundation.
 
10
#
 
11
# This program is distributed in the hope that it will be useful, but
 
12
# WITHOUT ANY WARRANTY; without even the implied warranties of
 
13
# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
 
14
# PURPOSE.  See the GNU General Public License for more details.
 
15
#
 
16
# You should have received a copy of the GNU General Public License along
 
17
# with this program.  If not, see <http://www.gnu.org/licenses/>.
 
18
"""Provide the correct reactor and ui integration."""
 
19
 
 
20
import sys
 
21
 
 
22
# pylint: disable=C0103
 
23
main = None
 
24
 
 
25
if sys.platform == 'win32':
 
26
    from ubuntuone_installer.gui.qt.main import windows
 
27
    main = windows.main
 
28
else:
 
29
    from ubuntuone_installer.gui.qt.main import linux
 
30
    main = linux.main