appnexus / schema-tool

framework-agnostic, schema management tool for everyone
Other
40 stars 21 forks source link

Fixing dict parsing #90

Closed dtrupenn closed 4 years ago

dtrupenn commented 5 years ago

Fixing dict for loop iterator to prevent value error when it has too many values to unpack.

Stack Trace:

Traceback (most recent call last):
  File "/usr/bin/schema", line 95, in main
    globals()[handler](context).run()
  File "/usr/local/adnxs/schema-tool/schematool/command/up.py", line 67, in run
    for (_, alter_id, _) in history:
ValueError: too many values to unpack