Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
ee31abfb
Commit
ee31abfb
authored
Apr 19, 2014
by
Robby Russell
Browse files
Merge pull request #2729 from grodzik/master
Fix for Python3
parents
3b830aac
cee52283
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/git-prompt/gitstatus.py
View file @
ee31abfb
...
@@ -16,7 +16,7 @@ symbols = {
...
@@ -16,7 +16,7 @@ symbols = {
}
}
output
,
error
=
Popen
(
output
,
error
=
Popen
(
[
'git'
,
'status'
],
stdout
=
PIPE
,
stderr
=
PIPE
).
communicate
()
[
'git'
,
'status'
],
stdout
=
PIPE
,
stderr
=
PIPE
,
universal_newlines
=
True
).
communicate
()
if
error
:
if
error
:
import
sys
import
sys
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment