]> arthur.barton.de Git - bup.git/blobdiff - cmd/save-cmd.py
Adjust on-cmd on--server-cmd mux-cmd DemuxConn for python 3
[bup.git] / cmd / save-cmd.py
index 5140ac027ecff4cef3b93ff93cd7ab05a6295c00..28019ba7f18716637c467c6d9dd9cdfab4aa15a1 100755 (executable)
@@ -118,12 +118,6 @@ else:
 handle_ctrl_c()
 
 
-def eatslash(dir):
-    if dir.endswith(b'/'):
-        return dir[:-1]
-    else:
-        return dir
-
 # Metadata is stored in a file named .bupm in each directory.  The
 # first metadata entry will be the metadata for the current directory.
 # The remaining entries will be for each of the other directory