pep8 spaces

This commit is contained in:
Rob Weber 2019-11-25 15:33:34 -06:00
parent fea7dca500
commit 0c79aef4e7
10 changed files with 158 additions and 168 deletions

View File

@ -4,7 +4,6 @@ import resources.lib.utils as utils
from resources.lib.authorizers import DropboxAuthorizer
from resources.lib.advanced_editor import AdvancedBackupEditor
# launcher for various helpful functions found in the settings.xml area
def authorize_cloud(cloudProvider):

View File

@ -166,7 +166,6 @@ class AdvancedBackupEditor:
return backupSet
def showMainScreen(self):
exitCondition = ""
customPaths = BackupSetManager()
@ -224,4 +223,3 @@ class AdvancedBackupEditor:
xbmcvfs.copy(source,dest)

View File

@ -17,7 +17,6 @@ def folderSort(aKey):
return result
class XbmcBackup:
# constants for initiating a back or restore
Backup = 0
@ -94,7 +93,6 @@ class XbmcBackup:
result.append((aFile, folderName))
result.sort(key=folderSort,reverse=reverse)
return result
@ -316,7 +314,6 @@ class XbmcBackup:
self.xbmc_vfs.rmfile(xbmc.translatePath("special://temp/" + self.restore_point))
self.xbmc_vfs.rmdir(self.remote_vfs.root_path)
# update the guisettings information (or what we can from it)
gui_settings = GuiSettingsManager()
gui_settings.run()
@ -407,7 +404,6 @@ class XbmcBackup:
if(not wroteFile and result):
result = False
return result
def _addBackupDir(self,folder_name,root_path,dirList):

View File

@ -70,4 +70,3 @@ class GuiSettingsManager:
except ExpatError:
utils.log("Can't read " + fileLoc)

View File

@ -149,7 +149,6 @@ class DropboxFileSystem(Vfs):
else:
return [[],[]]
def mkdir(self,directory):
directory = self._fix_slashes(directory)
if(self.client != None):

View File

@ -182,7 +182,6 @@ class BackupScheduler:
return shouldContinue
class UpdateMonitor(xbmc.Monitor):
update_method = None