def startMainLoopFromConstructor(repository):
 displayedDialogFromConstructor = getDisplayedDialogFromConstructor(repository)
 if (displayedDialogFromConstructor == None):
  print 'Warning, displayedDialogFromConstructor in settings is none, so the window will not be displayed.'
 else:
  displayedDialogFromConstructor.root.mainloop()

def startMainLoopFromConstructor ( repository ) : displayedDialogFromConstructor = getDisplayedDialogFromConstructor ( repository ) if ( displayedDialogFromConstructor == None ) : print 'Warning, displayedDialogFromConstructor in settings is none, so the window will not be displayed.' else : displayedDialogFromConstructor . root . mainloop ( )
display the repository dialog and start the main loop .