mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] remove useless import
This commit is contained in:
parent
906ea98592
commit
9d5b918929
1 changed files with 0 additions and 2 deletions
|
@ -4,7 +4,6 @@ from moulinette.core import MoulinetteError
|
||||||
from moulinette.utils.log import getActionLogger
|
from moulinette.utils.log import getActionLogger
|
||||||
|
|
||||||
from yunohost.tools import Migration
|
from yunohost.tools import Migration
|
||||||
from yunohost.service import _run_service_command
|
|
||||||
|
|
||||||
logger = getActionLogger('yunohost.migration')
|
logger = getActionLogger('yunohost.migration')
|
||||||
|
|
||||||
|
@ -41,4 +40,3 @@ class MyMigration(Migration):
|
||||||
p = subprocess.Popen("dpkg --list | grep -q -w {}".format(package_name), shell=True)
|
p = subprocess.Popen("dpkg --list | grep -q -w {}".format(package_name), shell=True)
|
||||||
p.communicate()
|
p.communicate()
|
||||||
return p.returncode == 0
|
return p.returncode == 0
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue