Skip to content
Permalink
Browse files

Remove urllib requirement from auth0 script

  • Loading branch information...
pwnbus committed Jun 6, 2019
1 parent 88a451f commit 215ff0b88e5a9c0964c47cf01b35a468d16c0c66
Showing with 3 additions and 11 deletions.
  1. +3 −11 cron/auth02mozdef.py
@@ -11,19 +11,11 @@
import sys
import os
import requests
import mozdef_client as mozdef
from mozdef_util.utilities.dot_dict import DotDict

try:
import urllib.parse
import traceback

quote_url = urllib.parse.quote
except ImportError:
# Well hello there python2 user!
import urllib
import mozdef_client as mozdef

quote_url = urllib.quote
import traceback
from mozdef_util.utilities.dot_dict import DotDict


def fatal(msg):

0 comments on commit 215ff0b

Please sign in to comment.
You can’t perform that action at this time.