diff options
Diffstat (limited to 'examples/gbp-posttag-push')
-rwxr-xr-x | examples/gbp-posttag-push | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gbp-posttag-push b/examples/gbp-posttag-push index df00c8fa..c4feda9c 100755 --- a/examples/gbp-posttag-push +++ b/examples/gbp-posttag-push @@ -37,7 +37,7 @@ def get_pushs(env): continue print '"%s"' % remote repo, refspec = remote.split() - repo = repo.split('.')[1] # remote.<repo>.push + repo = ".".join(repo.split('.')[1:-1]) # remote.<repo>.push try: remote = refspec.split(':')[1] # src:dest except IndexError: |