mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] remove useless imports
This commit is contained in:
parent
088fc01b06
commit
c65f3f8208
1 changed files with 0 additions and 5 deletions
|
@ -24,11 +24,7 @@
|
||||||
Manage hooks
|
Manage hooks
|
||||||
"""
|
"""
|
||||||
import os
|
import os
|
||||||
import sys
|
|
||||||
import re
|
|
||||||
import json
|
|
||||||
import errno
|
import errno
|
||||||
import subprocess
|
|
||||||
from glob import iglob
|
from glob import iglob
|
||||||
|
|
||||||
from moulinette.core import MoulinetteError
|
from moulinette.core import MoulinetteError
|
||||||
|
@ -309,7 +305,6 @@ def hook_exec(path, args=None, raise_on_error=False, no_trace=False,
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from moulinette.utils.process import call_async_output
|
from moulinette.utils.process import call_async_output
|
||||||
from yunohost.app import _value_for_locale
|
|
||||||
|
|
||||||
# Validate hook path
|
# Validate hook path
|
||||||
if path[0] != '/':
|
if path[0] != '/':
|
||||||
|
|
Loading…
Add table
Reference in a new issue