mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-26 01:26:00 +03:00
[PR #495] [MERGED] os.path replacement #1192
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#1192
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/495
Author: @afreydev
Created: 9/30/2020
Status: ✅ Merged
Merged: 10/2/2020
Merged by: @cdvv7788
Base:
master← Head:pathlib📝 Commits (10+)
4f29db3Replaced os.path in server.py4ff7b66Replaced os.path in init parsers849820fReplaced os.path in schema.pya0dbd80Fixed string casting91121d7Replaced os.path in json.pyf1fd043Replaced os.path in html.pycd1b0bdReplaced os.path in init index1eb0f44Replaced os.path in favicon.py6315506Replaced od.path in init cli9764a56replaced os.path in init extractors📊 Changes
14 files changed (+65 additions, -69 deletions)
View changed files
📝
archivebox/cli/__init__.py(+2 -1)📝
archivebox/cli/tests.py(+9 -8)📝
archivebox/config/__init__.py(+6 -6)📝
archivebox/core/settings.py(+8 -7)📝
archivebox/extractors/__init__.py(+1 -1)📝
archivebox/extractors/favicon.py(+1 -2)📝
archivebox/index/__init__.py(+1 -1)📝
archivebox/index/html.py(+12 -15)📝
archivebox/index/json.py(+9 -9)📝
archivebox/index/schema.py(+2 -3)📝
archivebox/logging_util.py(+6 -6)📝
archivebox/parsers/__init__.py(+2 -3)📝
archivebox/system.py(+1 -1)📝
tests/mock_server/server.py(+5 -6)📄 Description
Summary
This PR replaces all os.path to pathlib Path class.
Changes these areas
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.