diff options
author | kali <kali@leap.se> | 2012-11-14 00:33:05 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-11-14 00:33:05 +0900 |
commit | d24c7328fa845737dbb83d512e4b3f287634c4cc (patch) | |
tree | ae0409bd742ce3a6f994ae9bb31fc5ab7225f1c6 /src/leap/gui/__init__.py | |
parent | d2dcf5a1060d60c451570349a6a06ad102d6924c (diff) |
make tests pass + pep8
They were breaking mainly because I did not bother to have a pass
over them to change the PROVIDER settings from the branding case.
All good now, although much testing is yet needed and some refactor
could be used.
long live green tests!
Diffstat (limited to 'src/leap/gui/__init__.py')
-rw-r--r-- | src/leap/gui/__init__.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/leap/gui/__init__.py b/src/leap/gui/__init__.py index 6ecd665f..9b8f8746 100644 --- a/src/leap/gui/__init__.py +++ b/src/leap/gui/__init__.py @@ -1,3 +1,10 @@ +try: + import sip + sip.setapi('QString', 2) + sip.setapi('QVariant', 2) +except ValueError: + pass + import firstrun __all__ = ['firstrun'] |