mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-14 20:35:48 +01:00
pep8 multi line imports
This commit is contained in:
parent
92ec8bf25c
commit
35e05acaf2
@ -1,5 +1,6 @@
|
|||||||
import sys
|
import sys
|
||||||
import xbmc, xbmcgui
|
import xbmc
|
||||||
|
import xbmcgui
|
||||||
import resources.lib.utils as utils
|
import resources.lib.utils as utils
|
||||||
from resources.lib.backup import XbmcBackup
|
from resources.lib.backup import XbmcBackup
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
import sys
|
import sys
|
||||||
import xbmc, xbmcgui, xbmcvfs
|
import xbmc
|
||||||
|
import xbmcgui
|
||||||
|
import xbmcvfs
|
||||||
import resources.lib.utils as utils
|
import resources.lib.utils as utils
|
||||||
from resources.lib.authorizers import DropboxAuthorizer
|
from resources.lib.authorizers import DropboxAuthorizer
|
||||||
from resources.lib.advanced_editor import AdvancedBackupEditor
|
from resources.lib.advanced_editor import AdvancedBackupEditor
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
import json
|
import json
|
||||||
import xbmc, xbmcgui, xbmcvfs
|
import xbmc
|
||||||
|
import xbmcgui
|
||||||
|
import xbmcvfs
|
||||||
from . import utils as utils
|
from . import utils as utils
|
||||||
|
|
||||||
class BackupSetManager:
|
class BackupSetManager:
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
import xbmc, xbmcgui, xbmcvfs
|
import xbmc
|
||||||
|
import xbmcgui
|
||||||
|
import xbmcvfs
|
||||||
import resources.lib.tinyurl as tinyurl
|
import resources.lib.tinyurl as tinyurl
|
||||||
import resources.lib.utils as utils
|
import resources.lib.utils as utils
|
||||||
|
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
import time
|
import time
|
||||||
import json
|
import json
|
||||||
import xbmc, xbmcgui, xbmcvfs
|
import xbmc
|
||||||
|
import xbmcgui
|
||||||
|
import xbmcvfs
|
||||||
from . import utils as utils
|
from . import utils as utils
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from . vfs import XBMCFileSystem, DropboxFileSystem, ZipFileSystem
|
from . vfs import XBMCFileSystem, DropboxFileSystem, ZipFileSystem
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
import json
|
import json
|
||||||
import xbmc, xbmcvfs
|
import xbmc
|
||||||
|
import xbmcvfs
|
||||||
from . import utils as utils
|
from . import utils as utils
|
||||||
from xml.dom import minidom
|
from xml.dom import minidom
|
||||||
from xml.parsers.expat import ExpatError
|
from xml.parsers.expat import ExpatError
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
import xbmc, xbmcgui, xbmcaddon
|
import xbmc
|
||||||
|
import xbmcgui
|
||||||
|
import xbmcaddon
|
||||||
|
|
||||||
__addon_id__= 'script.xbmcbackup'
|
__addon_id__= 'script.xbmcbackup'
|
||||||
__Addon = xbmcaddon.Addon(__addon_id__)
|
__Addon = xbmcaddon.Addon(__addon_id__)
|
||||||
|
@ -2,7 +2,9 @@ from __future__ import unicode_literals
|
|||||||
import zipfile
|
import zipfile
|
||||||
import os.path
|
import os.path
|
||||||
import sys
|
import sys
|
||||||
import xbmc, xbmcvfs, xbmcgui
|
import xbmc
|
||||||
|
import xbmcvfs
|
||||||
|
import xbmcgui
|
||||||
from . import dropbox
|
from . import dropbox
|
||||||
from . import utils as utils
|
from . import utils as utils
|
||||||
from .dropbox.files import WriteMode, CommitInfo, UploadSessionCursor
|
from .dropbox.files import WriteMode, CommitInfo, UploadSessionCursor
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
import time
|
import time
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
import xbmc, xbmcvfs, xbmcgui
|
import xbmc
|
||||||
|
import xbmcvfs
|
||||||
|
import xbmcgui
|
||||||
import resources.lib.utils as utils
|
import resources.lib.utils as utils
|
||||||
from resources.lib.croniter import croniter
|
from resources.lib.croniter import croniter
|
||||||
from resources.lib.backup import XbmcBackup
|
from resources.lib.backup import XbmcBackup
|
||||||
|
Loading…
Reference in New Issue
Block a user