why was i trying to import pymysql?
This commit is contained in:
parent
9aadb7f90d
commit
bcbf659a8a
@ -22,11 +22,6 @@ import sys
|
|||||||
import tempfile
|
import tempfile
|
||||||
# TODO: virtual env?
|
# TODO: virtual env?
|
||||||
from lxml import etree # A lot safer and easier to use than the stdlib xml module.
|
from lxml import etree # A lot safer and easier to use than the stdlib xml module.
|
||||||
try:
|
|
||||||
import pymysql # not stdlib; "python-pymysql" in Arch's AUR
|
|
||||||
has_mysql = True
|
|
||||||
except ImportError:
|
|
||||||
has_mysql = False
|
|
||||||
try:
|
try:
|
||||||
# https://www.freedesktop.org/software/systemd/python-systemd/journal.html#journalhandler-class
|
# https://www.freedesktop.org/software/systemd/python-systemd/journal.html#journalhandler-class
|
||||||
from systemd import journal
|
from systemd import journal
|
||||||
|
Loading…
Reference in New Issue
Block a user