summaryrefslogtreecommitdiff
path: root/update_commited_patches.py
diff options
context:
space:
mode:
Diffstat (limited to 'update_commited_patches.py')
-rwxr-xr-xupdate_commited_patches.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/update_commited_patches.py b/update_commited_patches.py
index 633eccf..a74358a 100755
--- a/update_commited_patches.py
+++ b/update_commited_patches.py
@@ -58,7 +58,10 @@ def _update_project(repo_dir, project, commits, dryrun):
for commit in commits:
log.debug('check commit: %s', commit.id)
- _update_commit(project, repo, commit, dryrun)
+ try:
+ _update_commit(project, repo, commit, dryrun)
+ except MemoryError as e:
+ log.error('Unable to process commit(%s): %s', commit.id, e)
if __name__ == '__main__':