[sysadmin-bin] update_sites.py: Correctly call git branch to create local branch
- From: Olav Vitters <ovitters src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] update_sites.py: Correctly call git branch to create local branch
- Date: Mon, 28 Feb 2011 16:24:30 +0000 (UTC)
commit c4b7bf71f8ce4448d8b9229244d30e590901dbe2
Author: Olav Vitters <olav vitters nl>
Date: Mon Feb 28 17:24:25 2011 +0100
update_sites.py: Correctly call git branch to create local branch
gnomeweb/update_sites.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomeweb/update_sites.py b/gnomeweb/update_sites.py
index c9cbb8a..2a5aa37 100755
--- a/gnomeweb/update_sites.py
+++ b/gnomeweb/update_sites.py
@@ -214,7 +214,7 @@ def update_module(module, checkfile, moduleroot, url, owner, branch='master', ve
if branch != 'master':
try:
os.chdir(url)
- git.branch(branch, 'origin/%branch')
+ git.branch(branch, 'origin/%s' %branch)
except CalledProcessError, e:
# local branch probably exists already
pass
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]