Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please lose the banner on import! #4

Closed
GoogleCodeExporter opened this issue Aug 4, 2015 · 3 comments
Closed

Please lose the banner on import! #4

GoogleCodeExporter opened this issue Aug 4, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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.

Original issue reported on code.google.com by kl...@seistrup.dk on 10 Nov 2014 at 7:16

@GoogleCodeExporter
Copy link
Author

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!

Original comment by pde@n-side.com on 13 Nov 2014 at 9:26

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Fixed in Lea 2

Original comment by pde@n-side.com on 25 Dec 2014 at 11:07

  • Changed state: Verified

@GoogleCodeExporter
Copy link
Author

Original comment by pde@n-side.com on 17 Jul 2015 at 1:03

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant