rev126, Renamed disable_openssl to use_openssl, Renamed modified Peer command to listModified
This commit is contained in:
parent
099fe575a0
commit
34b7cb0292
5 changed files with 15 additions and 8 deletions
|
@ -171,6 +171,13 @@ class Peer(object):
|
|||
return added
|
||||
|
||||
|
||||
# List modified files since the date
|
||||
# Return: {inner_path: modification date,...}
|
||||
def listModified(self, since):
|
||||
response = self.request("listModified", {"since": since})
|
||||
return response
|
||||
|
||||
|
||||
# Stop and remove from site
|
||||
def remove(self):
|
||||
self.log("Removing peer...Connection error: %s, Hash failed: %s" % (self.connection_error, self.hash_failed))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue