示例#1
0
	def remove_source(self, source):
		source = os.path.normpath(source)
		
		print "Removing %s..." % source
		
		if source not in self.backuplist.get_sources():
			print "The source %s doesn't exist." % source
			return
		
		backupsource = BackUpSource(source, self.backuplist.get_target(source))
		backupsource.drop()
		self.backuplist.remove(source)
		
		print "Completed."