forked from public-mirrors/BorgExtend
why was i trying to import pymysql?
This commit is contained in:
parent
9aadb7f90d
commit
bcbf659a8a
1 changed files with 0 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue