libsaria: Remove unused function

I don't need the file_empty() function in the cache anymore
This commit is contained in:
Bryan Schumaker 2011-06-18 09:44:34 -04:00
parent 7319767ac3
commit 72f7ec90eb
1 changed files with 0 additions and 5 deletions

View File

@ -17,11 +17,6 @@ def file_exists(cache_path):
return False
return getsize(cache_path) != 0
def file_empty(cache_path):
if not isfile(cache_path):
return False
return getsize(cache_path) == 0
def make_cache_path(artist, album, file):
cache_file = "%s%s%s%s" % (artist, sep, album, sep)
cache_path = join(CACHE_DIR, cache_file)