Re-arrange import ordering

This commit is contained in:
Adam Goldsmith 2019-11-22 16:39:31 -05:00
parent 659459ddd3
commit 82a54b8f41
3 changed files with 5 additions and 4 deletions

View File

@ -1,8 +1,8 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from common import doors, getMembershipworksData, memberLevels from common import doors, getMembershipworksData, memberLevels
from hid.DoorController import E, ROOT
from hid.Credential import Credential from hid.Credential import Credential
from hid.DoorController import ROOT, E
class Member(): class Member():

View File

@ -1,8 +1,9 @@
import csv import csv
from io import StringIO from io import StringIO
import requests
from lxml import etree from lxml import etree
from lxml.builder import ElementMaker from lxml.builder import ElementMaker
import requests
E_plain = ElementMaker(nsmap={"hid": "http://www.hidglobal.com/VertX"}) E_plain = ElementMaker(nsmap={"hid": "http://www.hidglobal.com/VertX"})
E = ElementMaker(namespace="http://www.hidglobal.com/VertX", E = ElementMaker(namespace="http://www.hidglobal.com/VertX",

View File

@ -1,10 +1,10 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
import random import random
import re import re
import subprocess
import string import string
import subprocess
from common import * from common import getMembershipworksData
LDAP_BASE = "cn=users,dc=sawtooth,dc=claremontmakerspace,dc=org" LDAP_BASE = "cn=users,dc=sawtooth,dc=claremontmakerspace,dc=org"
GROUP_BASE = "cn=groups,dc=sawtooth,dc=claremontmakerspace,dc=org" GROUP_BASE = "cn=groups,dc=sawtooth,dc=claremontmakerspace,dc=org"