mirror of
https://github.com/arsenetar/send2trash.git
synced 2025-05-08 17:59:50 +00:00
Compare commits
No commits in common. "2eb3242cd9c646174d88e71e4a5dd503f5001c94" and "00dfe77e4087cd5286a191ca6fb99e9d45af7338" have entirely different histories.
2eb3242cd9
...
00dfe77e40
@ -23,11 +23,6 @@ matrix:
|
||||
- python: "nightly" # 3.10
|
||||
before_script:
|
||||
- export TOXENV=py310
|
||||
- python: "2.7"
|
||||
arch: ppc64le
|
||||
- python: "3.6"
|
||||
arch: ppc64le
|
||||
|
||||
install:
|
||||
- python -m pip install tox
|
||||
before_script:
|
||||
|
@ -110,10 +110,10 @@ def trash_move(src, dst, topdir=None):
|
||||
|
||||
check_create(filespath)
|
||||
check_create(infopath)
|
||||
|
||||
|
||||
os.rename(src, op.join(filespath, destname))
|
||||
with open(op.join(infopath, destname + INFO_SUFFIX), "w") as f:
|
||||
f.write(info_for(src, topdir))
|
||||
os.rename(src, op.join(filespath, destname))
|
||||
|
||||
|
||||
def find_mount_point(path):
|
||||
|
Loading…
x
Reference in New Issue
Block a user