Mercurial > repos > cropgeeks > flapjack
comparison flapjack.py @ 38:7ae1bb322c6f draft
Uploaded
| author | cropgeeks |
|---|---|
| date | Thu, 02 Mar 2017 08:01:45 -0500 |
| parents | 927533e85a6a |
| children | c8c40cbe2945 |
comparison
equal
deleted
inserted
replaced
| 37:10db67ef94f9 | 38:7ae1bb322c6f |
|---|---|
| 19 return False | 19 return False |
| 20 return True | 20 return True |
| 21 except Exception as e: | 21 except Exception as e: |
| 22 log.warning('%s, sniff Exception: %s', self, e) | 22 log.warning('%s, sniff Exception: %s', self, e) |
| 23 return False | 23 return False |
| 24 | |
| 25 Binary.register_sniffable_binary_format( "flapjack", "flapjack", FlapjackFormat) | |
| 24 | 26 |
| 25 class FlapjackMapFormat(Tabular): | 27 class FlapjackMapFormat(Tabular): |
| 26 file_ext = "fjmap" | 28 file_ext = "fjmap" |
| 27 | 29 |
| 28 def sniff( self, filename ): | 30 def sniff( self, filename ): |
