diff options
| author | jvoisin | 2011-07-30 21:47:31 +0200 |
|---|---|---|
| committer | jvoisin | 2011-07-30 21:47:31 +0200 |
| commit | 5715ba52f2238af513b0b87f4aa3c0158d2c84ba (patch) | |
| tree | e77829efd78b1473650a669546c3c11edc37932c /lib/misc.py | |
| parent | c9cb00bdf702ce6663e78784de63dc6d35c3d875 (diff) | |
Documentation, and removal of unnecessary imports
Diffstat (limited to '')
| -rw-r--r-- | lib/misc.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/misc.py b/lib/misc.py index f846388..acbaed8 100644 --- a/lib/misc.py +++ b/lib/misc.py | |||
| @@ -31,6 +31,9 @@ class TorrentStripper(parser.GenericParser): | |||
| 31 | return True | 31 | return True |
| 32 | 32 | ||
| 33 | def get_meta(self): | 33 | def get_meta(self): |
| 34 | ''' | ||
| 35 | Return a dict with all the meta of the file | ||
| 36 | ''' | ||
| 34 | metadata = {} | 37 | metadata = {} |
| 35 | for field in self.editor['root']: | 38 | for field in self.editor['root']: |
| 36 | if self._should_remove(field): | 39 | if self._should_remove(field): |
