diff options
| author | jvoisin | 2011-12-15 17:52:42 +0100 |
|---|---|---|
| committer | jvoisin | 2011-12-15 17:52:42 +0100 |
| commit | 73fc22ab0ce58ebba633d517ca436743fe62df57 (patch) | |
| tree | 8218010b7fb64111dd77e1f3be2db06a38ffbe60 /mat-cli | |
| parent | b9fde4ea1eb34a2f1ead1e3bfa6252fb1ca82220 (diff) | |
| parent | 13f102b65c8cf9981b2925495b95d20047b3932f (diff) | |
Merge branch 'master' of ssh://git-rw.torproject.org/user/jvoisin/mat
Diffstat (limited to 'mat-cli')
| -rwxr-xr-x | mat-cli | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -149,8 +149,10 @@ def main(): | |||
| 149 | for filename in filenames: | 149 | for filename in filenames: |
| 150 | class_file = mat.create_class_file(filename, args.backup, | 150 | class_file = mat.create_class_file(filename, args.backup, |
| 151 | args.add2archive) | 151 | args.add2archive) |
| 152 | if class_file is not None: | 152 | if class_file is not False: |
| 153 | func(class_file, filename, args.force) | 153 | func(class_file, filename, args.force) |
| 154 | else: | ||
| 155 | print('Unable to process %s' % filename) | ||
| 154 | 156 | ||
| 155 | if __name__ == '__main__': | 157 | if __name__ == '__main__': |
| 156 | main() | 158 | main() |
