Made getmodifiedsrc noop for server.

This commit is contained in:
LexManos 2012-08-15 00:50:40 -07:00
parent 9ad520cb2a
commit 022b3e57dc
1 changed files with 11 additions and 1 deletions

View File

@ -190,7 +190,17 @@
if entry[3] == 'U':
self.logger.info('Retrieving file from server : %s', entry[0])
cur_file = os.path.normpath(entry[0])
@@ -1654,3 +1694,6 @@
@@ -1612,6 +1652,9 @@
md5reoblk = {CLIENT: self.md5reobfclient, SERVER: self.md5reobfserver}
outpathlk = {CLIENT: self.srcmodclient, SERVER: self.srcmodserver}
src = {CLIENT: self.srcclient, SERVER: self.srcserver}
+
+ if side == SERVER: #Noop out server side stuff
+ return
# HINT: We need a table for the old md5 and the new ones
md5table = {}
@@ -1654,3 +1697,6 @@
except IOError:
self.logger.error('* File %s copy failed', in_class)