On Fri, 2014-11-28 at 23:10 +0300, Dmitry Bogatov wrote:

> Please, take a look and report, whether this version works correctly for
> you.

I get a traceback, it appears that your patch fails to strip '.git' from
the name of the repository, it works if I hardcode get_working_repo to
use 'whohas' as the reponame instead of 'whohas.git'.

pabs@chianamo ~/devel/misc/whohas (master %=) $ cligh issue list 
Traceback (most recent call last):
  File "/usr/bin/cligh", line 34, in <module>
    main()
  File "/usr/bin/cligh", line 31, in main
    args.func(client, args)
  File "/usr/lib/python2.7/dist-packages/cligh/issues.py", line 52, in do_list
    repository = get_working_repo(client, args.repository)
  File "/usr/lib/python2.7/dist-packages/cligh/utils.py", line 85, in 
get_working_repo
    repository = user.get_repo(reponame)
  File "/usr/lib/python2.7/dist-packages/github/NamedUser.py", line 449, in 
get_repo
    "/repos/" + self.login + "/" + name
  File "/usr/lib/python2.7/dist-packages/github/Requester.py", line 169, in 
requestJsonAndCheck
    return self.__check(*self.requestJson(verb, url, parameters, headers, 
input, cnx))
  File "/usr/lib/python2.7/dist-packages/github/Requester.py", line 177, in 
__check
    raise self.__createException(status, responseHeaders, output)
github.GithubException.UnknownObjectException: 404 {u'documentation_url': 
u'https://developer.github.com/v3', u'message': u'Not Found'}

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to