diff options
| author | jvoisin | 2014-06-08 13:39:18 +0200 |
|---|---|---|
| committer | jvoisin | 2014-06-08 13:39:18 +0200 |
| commit | af36529554c39a2eefcc2c8723715e2d25b401b8 (patch) | |
| tree | f54b964520bab44d1dfac725086211eaf22d3763 /MAT | |
| parent | ef5a32cfd3c0555ffe5ddf413eeaae61622ebb4b (diff) | |
Rename the MAT folder to libmat.
This commit fixes some issues for dump operating
systems who doesn't handle capitalization.
Diffstat (limited to '')
| -rw-r--r-- | libmat/__init__.py (renamed from MAT/__init__.py) | 0 | ||||
| -rw-r--r-- | libmat/archive.py (renamed from MAT/archive.py) | 0 | ||||
| -rw-r--r-- | libmat/audio.py (renamed from MAT/audio.py) | 0 | ||||
| -rw-r--r-- | libmat/bencode/__init__.py (renamed from MAT/bencode/__init__.py) | 0 | ||||
| -rw-r--r-- | libmat/bencode/bencode.py (renamed from MAT/bencode/bencode.py) | 0 | ||||
| -rw-r--r-- | libmat/exceptions.py (renamed from MAT/exceptions.py) | 0 | ||||
| -rw-r--r-- | libmat/exiftool.py (renamed from MAT/exiftool.py) | 0 | ||||
| -rw-r--r-- | libmat/hachoir_editor/__init__.py (renamed from MAT/hachoir_editor/__init__.py) | 0 | ||||
| -rw-r--r-- | libmat/hachoir_editor/field.py (renamed from MAT/hachoir_editor/field.py) | 0 | ||||
| -rw-r--r-- | libmat/hachoir_editor/fieldset.py (renamed from MAT/hachoir_editor/fieldset.py) | 0 | ||||
| -rw-r--r-- | libmat/hachoir_editor/typed_field.py (renamed from MAT/hachoir_editor/typed_field.py) | 0 | ||||
| -rw-r--r-- | libmat/images.py (renamed from MAT/images.py) | 0 | ||||
| -rw-r--r-- | libmat/mat.py (renamed from MAT/mat.py) | 6 | ||||
| -rw-r--r-- | libmat/misc.py (renamed from MAT/misc.py) | 0 | ||||
| -rw-r--r-- | libmat/mutagenstripper.py (renamed from MAT/mutagenstripper.py) | 0 | ||||
| -rw-r--r-- | libmat/office.py (renamed from MAT/office.py) | 0 | ||||
| -rw-r--r-- | libmat/parser.py (renamed from MAT/parser.py) | 0 | ||||
| -rw-r--r-- | libmat/strippers.py (renamed from MAT/strippers.py) | 0 |
18 files changed, 3 insertions, 3 deletions
diff --git a/MAT/__init__.py b/libmat/__init__.py index 8b13789..8b13789 100644 --- a/MAT/__init__.py +++ b/libmat/__init__.py | |||
diff --git a/MAT/archive.py b/libmat/archive.py index d483dcc..d483dcc 100644 --- a/MAT/archive.py +++ b/libmat/archive.py | |||
diff --git a/MAT/audio.py b/libmat/audio.py index dae9d75..dae9d75 100644 --- a/MAT/audio.py +++ b/libmat/audio.py | |||
diff --git a/MAT/bencode/__init__.py b/libmat/bencode/__init__.py index 8b13789..8b13789 100644 --- a/MAT/bencode/__init__.py +++ b/libmat/bencode/__init__.py | |||
diff --git a/MAT/bencode/bencode.py b/libmat/bencode/bencode.py index a0cc99a..a0cc99a 100644 --- a/MAT/bencode/bencode.py +++ b/libmat/bencode/bencode.py | |||
diff --git a/MAT/exceptions.py b/libmat/exceptions.py index 47da15c..47da15c 100644 --- a/MAT/exceptions.py +++ b/libmat/exceptions.py | |||
diff --git a/MAT/exiftool.py b/libmat/exiftool.py index 9e38f04..9e38f04 100644 --- a/MAT/exiftool.py +++ b/libmat/exiftool.py | |||
diff --git a/MAT/hachoir_editor/__init__.py b/libmat/hachoir_editor/__init__.py index 1835676..1835676 100644 --- a/MAT/hachoir_editor/__init__.py +++ b/libmat/hachoir_editor/__init__.py | |||
diff --git a/MAT/hachoir_editor/field.py b/libmat/hachoir_editor/field.py index 6b1efe3..6b1efe3 100644 --- a/MAT/hachoir_editor/field.py +++ b/libmat/hachoir_editor/field.py | |||
diff --git a/MAT/hachoir_editor/fieldset.py b/libmat/hachoir_editor/fieldset.py index b7c9b07..b7c9b07 100644 --- a/MAT/hachoir_editor/fieldset.py +++ b/libmat/hachoir_editor/fieldset.py | |||
diff --git a/MAT/hachoir_editor/typed_field.py b/libmat/hachoir_editor/typed_field.py index 0f0427b..0f0427b 100644 --- a/MAT/hachoir_editor/typed_field.py +++ b/libmat/hachoir_editor/typed_field.py | |||
diff --git a/MAT/images.py b/libmat/images.py index 67c710f..67c710f 100644 --- a/MAT/images.py +++ b/libmat/images.py | |||
diff --git a/MAT/mat.py b/libmat/mat.py index 5b1fbda..8dfc2dc 100644 --- a/MAT/mat.py +++ b/libmat/mat.py | |||
| @@ -12,7 +12,7 @@ import xml.sax | |||
| 12 | import hachoir_core.cmd_line | 12 | import hachoir_core.cmd_line |
| 13 | import hachoir_parser | 13 | import hachoir_parser |
| 14 | 14 | ||
| 15 | import MAT.exceptions | 15 | import libmat.exceptions |
| 16 | 16 | ||
| 17 | __version__ = '0.5.2' | 17 | __version__ = '0.5.2' |
| 18 | __author__ = 'jvoisin' | 18 | __author__ = 'jvoisin' |
| @@ -117,7 +117,7 @@ def secure_remove(filename): | |||
| 117 | os.chmod(filename, 220) | 117 | os.chmod(filename, 220) |
| 118 | except OSError: | 118 | except OSError: |
| 119 | logging.error('Unable to add write rights to %s' % filename) | 119 | logging.error('Unable to add write rights to %s' % filename) |
| 120 | raise MAT.exceptions.UnableToWriteFile | 120 | raise libmat.exceptions.UnableToWriteFile |
| 121 | 121 | ||
| 122 | try: | 122 | try: |
| 123 | if not subprocess.call(['shred', '--remove', filename]): | 123 | if not subprocess.call(['shred', '--remove', filename]): |
| @@ -131,7 +131,7 @@ def secure_remove(filename): | |||
| 131 | os.remove(filename) | 131 | os.remove(filename) |
| 132 | except OSError: | 132 | except OSError: |
| 133 | logging.error('Unable to remove %s' % filename) | 133 | logging.error('Unable to remove %s' % filename) |
| 134 | raise MAT.exceptions.UnableToRemoveFile | 134 | raise libmat.exceptions.UnableToRemoveFile |
| 135 | 135 | ||
| 136 | return True | 136 | return True |
| 137 | 137 | ||
diff --git a/MAT/misc.py b/libmat/misc.py index 450f381..450f381 100644 --- a/MAT/misc.py +++ b/libmat/misc.py | |||
diff --git a/MAT/mutagenstripper.py b/libmat/mutagenstripper.py index 403c9a7..403c9a7 100644 --- a/MAT/mutagenstripper.py +++ b/libmat/mutagenstripper.py | |||
diff --git a/MAT/office.py b/libmat/office.py index 0ca1ff1..0ca1ff1 100644 --- a/MAT/office.py +++ b/libmat/office.py | |||
diff --git a/MAT/parser.py b/libmat/parser.py index 1765da8..1765da8 100644 --- a/MAT/parser.py +++ b/libmat/parser.py | |||
diff --git a/MAT/strippers.py b/libmat/strippers.py index aea98da..aea98da 100644 --- a/MAT/strippers.py +++ b/libmat/strippers.py | |||
