Skip to content

Commit

Permalink
fix commit message processing
Browse files Browse the repository at this point in the history
  • Loading branch information
cotto committed Sep 29, 2010
1 parent 25c3650 commit 33e2770
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions github/github.py
Expand Up @@ -107,8 +107,8 @@ def _upgrade_db(self, db):
commit_msg = ''
while not re.match(r'[0-9a-f]{40}', line) and not line.startswith('git-svn-id:'):
if len(line) > 0:
if commit_msg:
line = commit_msg
if not commit_msg:
commit_msg = line
else:
commit_msg = commit_msg + "\n" + line
line = revmap_fd.readline()[0:-1]
Expand Down

0 comments on commit 33e2770

Please sign in to comment.