h0ng10 / yubico-yubiserve

Automatically exported from code.google.com/p/yubico-yubiserve
GNU General Public License v3.0
0 stars 0 forks source link

OATH token list traceback #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add OATH key
2. List OATH keys ('dbconf.py -hl')

What is the expected output? What do you see instead?
Expected listing of keys. Got python traceback.

What version of the product are you using? On what operating system?
head

Please provide any additional information below.
./dbconf.py -hl
 1 keys into database:
[Nickname]      >> [PublicID]
Traceback (most recent call last):
  File "./dbconf.py", line 225, in <module>
    print '%-23s >> %-21s >> %s ' %  (nickname, publicname)
TypeError: not enough arguments for format string

Fix: Change line 225 to:
                                        print '%-23s >> %s ' %  (nickname, publicname)

Original issue reported on code.google.com by kyre...@gmail.com on 14 Aug 2012 at 11:26

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r46.

Original comment by b1ga...@gmail.com on 25 Aug 2012 at 11:55

GoogleCodeExporter commented 8 years ago
Thank you for the fix, it should work correctly now! :)

Original comment by b1ga...@gmail.com on 25 Aug 2012 at 11:55