~apachelogger/software-properties/rip

« back to all changes in this revision

Viewing changes to software-properties-kde

  • Committer: Harald Sitter
  • Date: 2014-04-14 09:51:10 UTC
  • mfrom: (899.1.2 software-properties)
  • Revision ID: apachelogger@ubuntu.com-20140414095110-6ew20751t025t10v
* software-properties-kde : Work around crash in sip by skipping the
  + destructors of SIP objects. (LP: #1307170)

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
from PyKDE4.kdecore import ki18n, KAboutData, KCmdLineArgs , KCmdLineOptions
38
38
from PyKDE4.kdeui import KApplication, KMessageBox
39
39
 
 
40
import sip
 
41
 
40
42
class OptionParsed:
41
43
  debug = False
42
44
  massive_debug = False
46
48
 
47
49
#--------------- main ------------------
48
50
if __name__ == '__main__':
 
51
  try:
 
52
    sip.setdestroyonexit(False)
 
53
  except AttributeError:
 
54
    pass
49
55
  _ = gettext.gettext
50
56
 
51
57
  appName     = "softwarepropertieskde"