#NEWLINE# def on_select( self , repo , selection ) : #NEWLINE# #INDENT# selection = selection . strip ( ) #NEWLINE# if ( not selection ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# if self . base : #NEWLINE# #INDENT# self . window . show_input_panel ( 'Base:' , '' , partial ( self . on_complete , repo , selection ) , noop , noop ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . on_complete ( repo , repo )