Conditions | 2 |
Total Lines | 14 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | |||
24 | def handle(self, *args, **options): |
||
25 | # HINT: maybe UID or InjectTools could be more informative than |
||
26 | # uid suffix? |
||
27 | |||
28 | logger.info("Starting truncate_image_tables") |
||
29 | |||
30 | if options['all'] is True: |
||
31 | truncate_database() |
||
32 | |||
33 | else: |
||
34 | truncate_filled_tables() |
||
35 | |||
36 | # debug |
||
37 | logger.info("Done!") |
||
38 |