Use packaged pyblkid
parent
4e0f032611
commit
05fcea8d5e
|
@ -9,6 +9,10 @@
|
||||||
# Must have working locales, or unicode strings will fail. Install 'locales', configure /etc/locale.gen, run locale-gen.
|
# Must have working locales, or unicode strings will fail. Install 'locales', configure /etc/locale.gen, run locale-gen.
|
||||||
#
|
#
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
|
sys.path.insert(0, "/opt/opengnsys/python3/dist-packages")
|
||||||
|
|
||||||
|
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
@ -17,7 +21,7 @@ import logging
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import sys
|
|
||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue