aboutsummaryrefslogtreecommitdiff
path: root/quikr_util.py
diff options
context:
space:
mode:
authorCalvin <calvin@EESI>2013-03-07 17:17:20 -0500
committerCalvin <calvin@EESI>2013-03-07 17:17:20 -0500
commite8dfa85cd7e0428e53aac532c31f1ac1cc3cf1c1 (patch)
treee7663ea51680b07dd4a42f4132b746e9437aeb10 /quikr_util.py
parent7df3bd86f20197aad9e82f7ee89b7c0c8938dc15 (diff)
starting to modularize
Diffstat (limited to 'quikr_util.py')
-rw-r--r--quikr_util.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/quikr_util.py b/quikr_util.py
deleted file mode 100644
index b2fb968..0000000
--- a/quikr_util.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# Helper Functions
-
-# Check if file is gzip compressed
-def isCompressed(filename):
- f = open(filename, "rb")
-
- # The first two bytes of a tar file are always '1f 8b'
- if f.read(2) == '\x1f\x8b':
- f.close()
- return True
- else:
- f.close()
- return False