Bug 9086 - devtool add throws a TypeError
Summary: devtool add throws a TypeError
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.1 M3
Assignee: Paul Eggleton
QA Contact: Alexandru Georgescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-02-09 21:56 UTC by Randy Witt
Modified: 2016-02-26 13:10 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Witt 2016-02-09 21:56:30 UTC
/builds/poky-builds/master% devtool add ~/src/poky
Traceback (most recent call last):
  File "/home/rewitt/src/poky/scripts/devtool", line 305, in <module>
    ret = main()
  File "/home/rewitt/src/poky/scripts/devtool", line 292, in main
    ret = args.func(args, config, basepath, workspace)
  File "/home/rewitt/src/poky/scripts/lib/devtool/standard.py", line 54, in add
    elif '://' in args.srctree:
TypeError: argument of type 'NoneType' is not iterable

I tried multiple different source directories and the same exception was generated.
Comment 2 Alexandru Georgescu 2016-02-26 13:10:02 UTC
Verified with b1f23d1254682866236bfaeb843c0d8aa332efc2