Dale - this is in python 2.7.3 and using gitpython

On Wednesday, April 8, 2015 at 4:54:11 PM UTC-7, Dale Worley wrote:
>
> python.b...@gmail.com <javascript:> writes: 
> > I am getting the following error while executing the below code snippet 
> > exactly at the line if uID in repo.git.log():, the problem is in 
> > repo.git.log(),the error happens way down in the bowels of the 
> > repo.git.log() command, I think because the output produced by the git 
> > command doesn't produce UTF-8. That could be because the git log 
> contains 
> > non-UTF-8 data, or for a different reason. 
> > 
> > how do I convert repo.git.log() into decode("utf-8")? 
> > 
> > .................. 
> > uID = 
> > gerritInfo['id'].decode("utf-8")                                         
>     
> > if uID in repo.git.log(): 
> >         inwslist.append(gerritpatch)       
> > ..................... 
>
> What program is this code in?  Is it part of Git? 
>
> Dale 
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to