mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Move import at the beginning of the file.
This commit is contained in:
parent
4ca5476d2d
commit
e45697fc56
1 changed files with 1 additions and 1 deletions
|
@ -34,6 +34,7 @@ import errno
|
|||
import logging
|
||||
import apt
|
||||
import apt.progress
|
||||
import platform
|
||||
|
||||
from moulinette.core import MoulinetteError
|
||||
from moulinette.utils.log import getActionLogger
|
||||
|
@ -480,7 +481,6 @@ def tools_upgrade_v24(auth):
|
|||
"""
|
||||
YunoHost upgrade to new Yunohost version (on jessie)
|
||||
"""
|
||||
import platform
|
||||
|
||||
# Retrieve interface
|
||||
is_api = True if msettings.get('interface') == 'api' else False
|
||||
|
|
Loading…
Add table
Reference in a new issue