Skip to content

Commit

Permalink
Remove an old function we don't use any more
Browse files Browse the repository at this point in the history
  • Loading branch information
scottchiefbaker committed Nov 20, 2023
1 parent 0a6c00e commit 9b817e8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions dool
Original file line number Diff line number Diff line change
Expand Up @@ -1785,14 +1785,6 @@ def ticks():
if l[0] == 'btime':
return time.time() - int(l[1])

def improve(devname):
"Improve a device name"
if devname.startswith('/dev/mapper/'):
devname = devname.split('/')[3]
elif devname.startswith('/dev/'):
devname = devname.split('/')[2]
return devname

def dopen(filename):
"Open a file for reuse, if already opened, return file descriptor"
global fds
Expand Down

0 comments on commit 9b817e8

Please sign in to comment.