[oozie] Installing oozie examples gives error
@@ -369,6 +369,9 @@ class Command(BaseCommand):
if ENABLE_V2.get():
with transaction.atomic():
+ if sys.version_info[0] > 2:
+ management.call_command('loaddata', 'initial_oozie_examples.json', verbosity=2)
+ else:
management.call_command('loaddata', 'initial_oozie_examples.json', verbosity=2, commit=False)
# Install editor oozie examples without doc1 link
