1
0
espelhamento de https://github.com/arsenetar/send2trash.git sincronizado 2025-07-06 07:23:21 +00:00

Comparar commits

..

6 Commits

Autor SHA1 Mensagem Data
2eb3242cd9
Merge pull request #54 from asellappen/master
Adding power support for this package to support arch independent
2021-01-21 19:11:15 -06:00
60bcb2c834
Merge pull request #47 from pracedru/master
Update plat_other.py
2021-01-21 19:00:46 -06:00
c411f4eae4
Merge branch 'master' into master 2021-01-21 19:00:33 -06:00
f64c69f905
Merge branch 'master' into master 2021-01-21 18:57:39 -06:00
Arumugam
f62b4f1ffd Adding power support for this package to support arch indepentant 2020-12-15 06:08:33 +00:00
Magnus Møller Jørgensen
20bbab0b4c
Update plat_other.py
The trash info file needs to exist before the file is moved into the trash folder. 
This is to conform to the events based detection of trashed files in gnome and other file managers.
2020-07-23 03:57:15 +02:00
2 arquivos alterados com 7 adições e 2 exclusões

Ver arquivo

@ -23,6 +23,11 @@ matrix:
- python: "nightly" # 3.10 - python: "nightly" # 3.10
before_script: before_script:
- export TOXENV=py310 - export TOXENV=py310
- python: "2.7"
arch: ppc64le
- python: "3.6"
arch: ppc64le
install: install:
- python -m pip install tox - python -m pip install tox
before_script: before_script:

Ver arquivo

@ -111,9 +111,9 @@ def trash_move(src, dst, topdir=None):
check_create(filespath) check_create(filespath)
check_create(infopath) check_create(infopath)
os.rename(src, op.join(filespath, destname))
with open(op.join(infopath, destname + INFO_SUFFIX), "w") as f: with open(op.join(infopath, destname + INFO_SUFFIX), "w") as f:
f.write(info_for(src, topdir)) f.write(info_for(src, topdir))
os.rename(src, op.join(filespath, destname))
def find_mount_point(path): def find_mount_point(path):