Please lose the banner on import!

Issue #4 closed
Former user created an issue

Originally reported on Google Code with ID 4

What steps will reproduce the problem?
1. import lea

What is the expected output? What do you see instead?

I don't expect, need, or want any output if the import goes well, instead I see this:

 """
 Lea 1.3.1 Copyright (C) 2013  Pierre Denis
 This program comes with ABSOLUTELY NO WARRANTY.
 This is free software, and you are welcome to redistribute it under certain conditions.
 For more details, see COPYING and COPYING.LESSER files.
 """

What version of the product are you using? On what operating system?

Lea 1.3.1 on Python 3.4.2 on Linux 3.17.2.

Please provide any additional information below.

Importing a package shouldn't spew out a banner.  Doing so makes it useless in scripts.

Reported by klaus@seistrup.dk on 2014-11-10 07:16:32

Comments (4)

  1. Former user Account Deleted
    You are right! This is not adequate. 
    This message will be removed in the next version. It will be displayed only in the
    future "Lea shell" console, planned for Lea 2.0. (ie similar to Python console's welcome
    message).
    In the meantime, please hack license.py to remove the print statement!
    Thank you for reporting!
    

    Reported by pde@n-side.com on 2014-11-13 09:26:27 - Status changed: Accepted

  2. Former user Account Deleted
    Fixed in Lea 2
    

    Reported by pde@n-side.com on 2014-12-25 23:07:29 - Status changed: Verified

  3. Former user Account Deleted

    Reported by pde@n-side.com on 2015-07-17 13:03:33 - Labels added: Type-Enhancement - Labels removed: Type-Defect

  4. Log in to comment