This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xtreak
Recipients xtreak
Date 2020-01-13.16:42:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578933739.07.0.811706238675.issue39323@roundup.psfhosted.org>
In-reply-to
Content
imghdr module has a cli that can display the image type for a given filename and also recurse through directories. I would like to propose following changes :

* Add tests for the imghdr cli.
* The cli uses hardcoded '/' separator in the end for directories this is a minor issue with windows where the separators are \ and the last separator is displayed with / like c:\Foo\Bar\Spam/ . Using os.sep can be a better option here.

I have a PR that I will add shortly for review.
History
Date User Action Args
2020-01-13 16:42:19xtreaksetrecipients: + xtreak
2020-01-13 16:42:19xtreaksetmessageid: <1578933739.07.0.811706238675.issue39323@roundup.psfhosted.org>
2020-01-13 16:42:19xtreaklinkissue39323 messages
2020-01-13 16:42:18xtreakcreate