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

New pysquashfsimage command, strings for names and paths, argparse #22

Merged
merged 3 commits into from
Apr 16, 2023

Conversation

AT0myks
Copy link
Collaborator

@AT0myks AT0myks commented Apr 16, 2023

  • File names and paths are now instances of str, just like symlinks already were
  • Replace fill by the from_bytes class method
  • Further code simplifications
  • Use argparse for command line parsing
  • Add syntax highlighting to the readme
  • Add pysquashfsimage command
  • Bump version to 0.8.0 (because of added functionality according to semantic versioning)
  • Add readme to setup.py so that it shows up on PyPI
  • Add Python 2 classifier to setup.py

I would also like to mention that half of the code in the main (everything that's in the else) has always been unreachable. len(sys.argv) <= 1 means there's no argument, so no image to open, and sys.argv[1] raises an IndexError anyway.

AT0myks added 3 commits April 16, 2023 06:03
- replace `fill` by the `from_bytes` class method
- file names and paths are now instances of str just like symlinks
@matteomattei matteomattei merged commit 4b4b5e2 into matteomattei:master Apr 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants