The following is a patch containing proposed possible changes. Note that while the patch LOOKS huge that's because I got rid of tab indentation with PEP8 dictated 4-spaces indents.
There's some other refactoring done here in order to behave properly with the new calls for things, replacing 'cmd' as strings with boolean flags but totally refactoring out all cp/rm subprocess wrapper calls with the other inbuilt libraries that Seth indicated. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831154 Title: [needs-packaging] ubuntustudio-menu-add To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntustudio/+bug/1831154/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs