Skip to content

Commit

Permalink
Merge pull request #38 from mp-w/develop
Browse files Browse the repository at this point in the history
Fixed bug in CopyBackend that prevented git fat pull running subsequent ...
  • Loading branch information
abraithwaite committed Jan 30, 2015
2 parents 8c9e569 + 621cea1 commit 674dc66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git_fat/git_fat.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,16 +279,16 @@ def __init__(self, base_dir, **kwargs):
self.base_dir = base_dir

def pull_files(self, file_list):

for f in file_list:
fullpath = os.path.join(self.other_path, f)
shutil.copy2(fullpath, self.base_dir)
return True

def push_files(self, file_list):

for f in file_list:
fullpath = os.path.join(self.base_dir, f)
shutil.copy2(fullpath, self.other_path)
return True


class HTTPBackend(BackendInterface):
Expand Down

0 comments on commit 674dc66

Please sign in to comment.