diff options
| author | jvoisin | 2012-12-13 22:23:36 +0100 |
|---|---|---|
| committer | jvoisin | 2012-12-13 22:23:36 +0100 |
| commit | 30dd6e9902a5092d5bd240e28d59bd2763d55397 (patch) | |
| tree | 0a38f4bf25b7fa49ba6d802e604ebfdcd82929fd /mat | |
| parent | cbf8a2a65928694202e19b6bcf56ec84bcbf613c (diff) | |
Fix a typo, and remove and unused import
Diffstat (limited to 'mat')
| -rwxr-xr-x | mat | 3 |
1 files changed, 0 insertions, 3 deletions
| @@ -6,7 +6,6 @@ | |||
| 6 | import sys | 6 | import sys |
| 7 | import xml.sax | 7 | import xml.sax |
| 8 | import optparse | 8 | import optparse |
| 9 | import os | ||
| 10 | 9 | ||
| 11 | import hachoir_core | 10 | import hachoir_core |
| 12 | 11 | ||
| @@ -110,8 +109,6 @@ def list_supported(): | |||
| 110 | 109 | ||
| 111 | for item in handler.list: | 110 | for item in handler.list: |
| 112 | if strippers.STRIPPERS.has_key(item['mimetype'].split(',')[0]): | 111 | if strippers.STRIPPERS.has_key(item['mimetype'].split(',')[0]): |
| 113 | #on display localy supported formats | ||
| 114 | print 'ok' | ||
| 115 | print('%s (%s)' % (item['name'], item['extension'])) | 112 | print('%s (%s)' % (item['name'], item['extension'])) |
| 116 | print('\tsupport : ' + item['support']) | 113 | print('\tsupport : ' + item['support']) |
| 117 | print('\tmetadata : ' + item['metadata']) | 114 | print('\tmetadata : ' + item['metadata']) |
