File tree Expand file tree Collapse file tree 2 files changed +11
-28
lines changed
Expand file tree Collapse file tree 2 files changed +11
-28
lines changed Original file line number Diff line number Diff line change 1+ ##########################################################
2+ #### WhiteSource Integration configuration file ####
3+ ##########################################################
4+
5+ # Configuration #
6+ #---------------#
7+ ws.repo.scan=true
8+ vulnerable.check.run.conclusion.level=failure
Original file line number Diff line number Diff line change @@ -52,33 +52,8 @@ def _create_menu(self):
5252 position = 85 ))
5353
5454 def OnViewShortcutCreate (self , event ):
55- if not self ._window :
56- self ._window = _ShortcutCreateWindow (self .notebook )
57- else :
58- self .notebook .show_tab (self ._window )
59- self ._window .call_creator ()
55+ self .call_creator (self .notebook )
6056 # self.disable()
6157
62-
63- class _ShortcutCreateWindow (wx .TextCtrl ):
64- def __init__ (self , notebook ):
65- wx .TextCtrl .__init__ (
66- self , notebook , style = wx .TE_MULTILINE ) # DEBUG wx.TE_READONLY |
67- self ._create_ui ()
68- self ._add_to_notebook (notebook )
69- self .SetFont (widgets .Font ().fixed_log )
70-
71- def _create_ui (self ):
72- sizer = wx .BoxSizer (wx .VERTICAL )
73- sizer .Add (self )
74- self .SetSizer (sizer )
75-
76- def _add_to_notebook (self , notebook ):
77- notebook .add_tab (self , 'Create RIDE Desktop Shortcut' ,
78- allow_closing = True )
79-
80- def close (self , notebook ):
81- notebook .delete_tab (self )
82-
83- def call_creator (self ):
84- return postinstall .caller (self .GetParent (), sys .platform .lower ())
58+ def call_creator (self , notebook ):
59+ return postinstall .caller (notebook .GetParent (), sys .platform .lower ())
You can’t perform that action at this time.
0 commit comments