diff options
author | Calvin <calvin@EESI> | 2013-03-07 17:17:20 -0500 |
---|---|---|
committer | Calvin <calvin@EESI> | 2013-03-07 17:17:20 -0500 |
commit | e8dfa85cd7e0428e53aac532c31f1ac1cc3cf1c1 (patch) | |
tree | e7663ea51680b07dd4a42f4132b746e9437aeb10 /quikr_util.py | |
parent | 7df3bd86f20197aad9e82f7ee89b7c0c8938dc15 (diff) |
starting to modularize
Diffstat (limited to 'quikr_util.py')
-rw-r--r-- | quikr_util.py | 13 |
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 |