File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,13 @@ class ARJError(Exception):
13
13
14
14
15
15
class ARJNullFile (ARJError ):
16
- """Raised for zero -sized ARJ files ."""
16
+ """Zero -sized ARJ."""
17
17
18
18
19
19
class ARJExtendedHeader (ARJError ):
20
20
"""Main ARJ header contains extended_header, which we don't handle."""
21
21
22
22
23
- class ARJFileLengthError (ARJError ):
24
- """This is a zero-sized ARJ."""
25
-
26
-
27
23
class ARJHandler (StructHandler ):
28
24
NAME = "arj"
29
25
@@ -150,11 +146,11 @@ def calculate_chunk(
150
146
self ._read_arj_main_header (file , start_offset )
151
147
end_of_arj = self ._read_arj_files (file )
152
148
except ARJError as exc :
153
- logger .warning ("Invalid ARJ file" , message = exc .__doc__ )
149
+ logger .warning ("Invalid ARJ file" , reason = exc .__doc__ )
154
150
return
155
151
except EOFError :
156
152
logger .warning (
157
- "Invalid ARJ file" , message = "File ends before ARJ file resolves."
153
+ "Invalid ARJ file" , reason = "File ends before ARJ file resolves."
158
154
)
159
155
return
160
156
You can’t perform that action at this time.
0 commit comments