diff --git a/greg/management/commands/import_from_orgreg.py b/greg/management/commands/import_from_orgreg.py index 13dff58b47a4b1f4f36541e7973f7bde113ef299..b66030074241758eb9c1596832c5cf52fb2658e4 100644 --- a/greg/management/commands/import_from_orgreg.py +++ b/greg/management/commands/import_from_orgreg.py @@ -42,18 +42,17 @@ class Command(BaseCommand): self.schedule() return - commit = options['commit'] + commit = options["commit"] if options["run_once"]: with transaction.atomic(): importer = OrgregImporter() importer.handle() if not commit: - logger.info('Rolling back changes...') + logger.info("Rolling back changes...") transaction.set_rollback(True) else: - logger.info('Changes committed') - + logger.info("Changes committed") def schedule(self): logger.info("Scheduling orgreg import task...")