Comments (1)
A possible fix, if None
is the best return type (given that the with contextlib.suppress(ValueError
) suggests that would be:
if value is None:
return None
with contextlib.suppress(ValueError):
...
You could also do with contextlib.suppress(ValueError, TypeError)
but that would be more permissive and less specific.
from mail-deduplicate.
Related Issues (20)
- Hardlink Dupes HOT 4
- warn users of the 3.x release of the unsupported status HOT 6
- Update GitHub project description and link HOT 4
- add pip to pyproject.toml? HOT 6
- Object has no attribute '_subdir' error HOT 8
- Add option to ignore single messages when performing any actions HOT 2
- AttributeError: 'MaildirDedupMail' object has no attribute '_subdir' HOT 2
- iteritems is python2-only HOT 3
- -s discard-newer -a delete-discarded isn't deleting any mail HOT 2
- `boltons.ecoutils.pprint` error on Python 3.10 HOT 7
- OOM: `mdedup` hangs then exits with message `Killed` HOT 8
- No docs HOT 4
- Broken links HOT 1
- Broken links HOT 1
- Broken links HOT 1
- Create a new, deduplicated mailbox with unique emails too (Documentation: What is "discarded"?) HOT 3
- Broken links
- 🎁 Multiple strategies
- No action performed. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mail-deduplicate.