Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

The error message from 'planex-pin update' when the treeish isn't specified is unhelpful #199

Closed
jonludlam opened this issue Apr 17, 2015 · 1 comment
Labels

Comments

@jonludlam
Copy link
Collaborator

No #master specified on the repo path leads to:

# planex-pin add SPECS/foo.spec /repos/myrepo
# planex-pin update
Traceback (most recent call last):
  File "/usr/bin/planex-pin", line 9, in <module>
    load_entry_point('planex==0.6.0', 'console_scripts', 'planex-pin')()
  File "/usr/lib/python2.7/site-packages/planex-0.6.0-py2.7.egg/planex/pin.py", line 341, in _main
    main(sys.argv[1:])
  File "/usr/lib/python2.7/site-packages/planex-0.6.0-py2.7.egg/planex/pin.py", line 334, in main
    args.func(args)
  File "/usr/lib/python2.7/site-packages/planex-0.6.0-py2.7.egg/planex/pin.py", line 159, in update
    src_version = describe(repo, treeish if treeish else None)
  File "/usr/lib/python2.7/site-packages/planex-0.6.0-py2.7.egg/planex/pin.py", line 34, in describe
    sha = run(cmd)['stdout'].strip()
  File "/usr/lib/python2.7/site-packages/planex-0.6.0-py2.7.egg/planex/util.py", line 60, in run
    (" ".join([pipes.quote(word) for word in cmd])))
  File "/usr/lib64/python2.7/pipes.py", line 269, in quote
    for c in file:
TypeError: 'NoneType' object is not iterable
@euanh
Copy link
Contributor

euanh commented Dec 13, 2016

Superseded by reimplementation of pinning using patch queues.

@euanh euanh closed this as completed Dec 13, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants