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.authorizers import DropboxAuthorizer
from resources.lib.advanced_editor import AdvancedBackupEditor from resources.lib.advanced_editor import AdvancedBackupEditor
# launcher for various helpful functions found in the settings.xml area # launcher for various helpful functions found in the settings.xml area
def authorize_cloud(cloudProvider): def authorize_cloud(cloudProvider):

View File

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

View File

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

View File

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

View File

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

View File

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