Index: trunk/tools/editor_trends/classes/exceptions.py |
— | — | @@ -47,6 +47,15 @@ |
48 | 48 | return 'You have not installed a program to extract %s archives.' \ |
49 | 49 | % self.extension |
50 | 50 | |
| 51 | +class CompressedFileNotSupported(Error): |
| 52 | + def __init__(self, extension): |
| 53 | + self.extension = extension |
| 54 | + |
| 55 | + def __str__(self): |
| 56 | + return 'Wikilytics does not support %s files to extract directly from.' \ |
| 57 | + % self.extension |
| 58 | + |
| 59 | + |
51 | 60 | class OutDatedPythonVersionError(Error): |
52 | 61 | def __init__(self, version): |
53 | 62 | self.version = version |