Skip to content

Commit 5abeb16

Browse files
committed
And more fixes
1 parent f27704f commit 5abeb16

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

make

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,16 @@ def merge_pages():
9696
print 'Files copied sucessfully'
9797

9898
print 'Switching to gh-pages...'
99-
git = subprocess.Popen(['git', 'checkout gh-pages'],
99+
git = subprocess.Popen(['git', 'checkout', 'gh-pages'],
100100
stdout=subprocess.PIPE)
101101

102+
git = subprocess.Popen(['git', 'branch'], stdout=subprocess.PIPE)
103+
print git.communicate()
104+
return 1
102105
status = merge_git()
103106

104107
print 'Returning to master...'
105-
git = subprocess.Popen(['git', 'checkout master'],
108+
git = subprocess.Popen(['git', 'checkout', 'master'],
106109
stdout=subprocess.PIPE)
107110

108111
if git.communicate()[0].strip() == 'Aborting':

0 commit comments

Comments
 (0)