diff --git a/superflore/generators/ebuild/overlay_instance.py b/superflore/generators/ebuild/overlay_instance.py index e5829118..ac7abe01 100644 --- a/superflore/generators/ebuild/overlay_instance.py +++ b/superflore/generators/ebuild/overlay_instance.py @@ -39,8 +39,10 @@ def commit_changes(self, distro): info('Committing to branch {0}...'.format(self.branch_name)) if distro == 'all': commit_msg = 'regenerate all distros, {0}' - else: + elif distro: commit_msg = 'regenerate ros-{1}, {0}' + else: + commit_msg = 'rosdistro sync, {0}' commit_msg = commit_msg.format(time.ctime(), distro) self.repo.git.commit(m='{0}'.format(commit_msg))