summaryrefslogtreecommitdiff
path: root/MAT/misc.py
diff options
context:
space:
mode:
authorjvoisin2013-10-05 20:46:24 +0100
committerjvoisin2013-10-05 20:46:24 +0100
commitf97b4d88f0254588d11b8760fc6714828af0ef28 (patch)
tree3c53c65a86ed931041c18a9f54d0c15d56790d55 /MAT/misc.py
parent0f2976458b4baeb418bf9242cbe7dfb96b071440 (diff)
mat is now able to check non-writables files
This is an implementaion of this suggestion: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721572
Diffstat (limited to 'MAT/misc.py')
-rw-r--r--MAT/misc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/MAT/misc.py b/MAT/misc.py
index 4c104a8..e016d18 100644
--- a/MAT/misc.py
+++ b/MAT/misc.py
@@ -12,8 +12,8 @@ class TorrentStripper(parser.GenericParser):
12 Represent a torrent file with the help 12 Represent a torrent file with the help
13 of the bencode lib from Petru Paler 13 of the bencode lib from Petru Paler
14 ''' 14 '''
15 def __init__(self, filename, parser, mime, backup, **kwargs): 15 def __init__(self, filename, parser, mime, backup, is_writable, **kwargs):
16 super(TorrentStripper, self).__init__(filename, parser, mime, backup) 16 super(TorrentStripper, self).__init__(filename, parser, mime, backup, is_writable, **kwargs)
17 self.fields = ['comment', 'creation date', 'created by'] 17 self.fields = ['comment', 'creation date', 'created by']
18 18
19 def is_clean(self): 19 def is_clean(self):