Changeset 98129


Ignore:
Timestamp:
Sep 25, 2012, 4:03:25 PM (12 years ago)
Author:
michaelld@…
Message:

py*-pyqt4 : Change exception handling on "import license" to also handle when the license info is invalid. Addresses ticket #35789. No need to rev-bump for those without this issue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-pyqt4/files/patch-configure.py

    r97952 r98129  
    1 --- configure.py.orig   2012-09-18 10:30:46.000000000 -0400
    2 +++ configure.py        2012-09-18 10:31:58.000000000 -0400
     1--- configure.py.orig   2012-09-25 11:54:11.000000000 -0400
     2+++ configure.py        2012-09-25 11:55:51.000000000 -0400
    33@@ -44,6 +44,7 @@
    44 qt_dir = None
     
    5050 
    5151     sipconfig.create_config_module(module, template, content, macros)
     52@@ -1787,7 +1785,7 @@
     53             lfile = license.LicenseFile
     54         except AttributeError:
     55             lfile = None
     56-    except ImportError:
     57+    except:
     58         ltype = None
     59 
     60     if ltype is None:
    5261@@ -1894,12 +1892,14 @@
    5362     names = list(sipcfg.build_macros().keys())
Note: See TracChangeset for help on using the changeset viewer.