Commit 399815b0 authored by jtchilders's avatar jtchilders
Browse files

fixed import typo

parent 8a87daf5
from django.core.management.base import BaseCommand, CommandError
from django.conf import settings
from argo.UserJobReceiver import UserJobReceiver
from argo.models import ArgoDbEntry
from argo.models import ArgoJob
import os,sys,time,multiprocessing
import logging
logging.basicConfig(
......@@ -41,7 +41,7 @@ class Command(BaseCommand):
def handle(self, *args, **options):
jobs = ArgoDbEntry.objects.all()
jobs = ArgoJob.objects.all()
for job in jobs:
logger.info('removing job: ' + str(job.id) )
job.delete()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment