Closed glensc closed 8 years ago
besides the error, some backtrace would had been useful to even figure out where to insert pprint
lines... there's some logger in pyp2rpm/bin.py
, but can't figure out how to tune it via commandline arguments.
looks like the problem is not trailing comma, but it just doesn't accept tupes?
➔ python
Python 2.7.11 (default, May 4 2016, 09:58:31)
[GCC 5.3.0 20151204 (release)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> a=('a')
>>> type(a)
<type 'str'>
>>> a=('a',)
>>> type(a)
<type 'tuple'>
>>> a=('a','b')
>>> type(a)
<type 'tuple'>
>>>
Yes. And I think it could even be a generator and such.
got such unuseful error: