ericpruitt / sshfsexec

Transparent remote command execution with sshfs and NFS mounts
49 stars 12 forks source link

Needs update for Python 3.13 #6

Open dvandok opened 1 month ago

dvandok commented 1 month ago

Thanks for this great little tool! I had to update the call to python to python3 (on Debian 12) and now I get the warning

/home/user/bin/sshfsexec/git:6: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
ericpruitt commented 1 month ago

You can fix this by changing import pipes to import shlex and replacing pipes.quote with shlex.quote in the code. I haven't had a need for this program in a while, but that may change soon, so I'll try to properly port the whole codebase to Python 3.