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
Option to get None instead of empty string #44
Comments
There is not. Currently it returns the value from |
For instance when you store the name components in a database and you want to store that values as |
Turns out the change breaks a bunch of tests, mostly to do with string formatting, so I just added a configuration option for it, documented here: |
Maybe it's an idea to modify line 122: Do a |
Thanks for the suggestion. I gave it a shot but my attempt doesn't pass the test. I made a branch and pull request: #45 Here's the failed Travis build: |
I figured it out. It was a problem with the tests and me forgetting how to use my own software. |
I posted the results of the tests when |
Thanks for you friendly support. I am now using this module for some days and it is quite nice. The code changes looks fine.
I think you are right. Probably you should test for |
remove default attribute from formatted string (#44)
Just released v0.3.15 that should take care of all this |
Hey,
is there an option to get
None
instead of an empty string for the components? E.g.The text was updated successfully, but these errors were encountered: