about summary refs log tree commit diff
path: root/src/etc/get-snapshot.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/get-snapshot.py')
-rwxr-xr-xsrc/etc/get-snapshot.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/etc/get-snapshot.py b/src/etc/get-snapshot.py
index 806d37511dd..98e480defda 100755
--- a/src/etc/get-snapshot.py
+++ b/src/etc/get-snapshot.py
@@ -3,11 +3,6 @@
 import os, tarfile, hashlib, re, shutil
 from snapshot import *
 
-def snap_filename_hash_part(snap):
-  match = re.match(r".*([a-fA-F\d]{40}).tar.bz2$", snap)
-  if not match:
-    raise Exception("unable to find hash in filename: " + snap)
-  return match.group(1)
 
 def unpack_snapshot(snap):
   dl_path = os.path.join(download_dir_base, snap)