mirror of
https://github.com/openXC7/prjxray.git
synced 2026-08-28 17:05:11 +02:00
Avoid failing on empty pip lists (which may occur).
Signed-off-by: Keith Rothman <[email protected]>
This commit is contained in:
@@ -118,6 +118,10 @@ def maketodo(
|
||||
|
||||
todos, tile_type = load_pipfile(pipfile, verbose=verbose)
|
||||
verbose and print('%s: %u entries' % (pipfile, len(todos)))
|
||||
if not todos:
|
||||
verbose and print('%s: %u entries, done!' % (pipfile, len(todos)))
|
||||
return
|
||||
|
||||
verbose and print("pipfile todo sample: %s" % list(todos)[0])
|
||||
|
||||
if 0 and verbose:
|
||||
|
||||
Reference in New Issue
Block a user