diff options
Diffstat (limited to 'scripts/lib/devtool/standard.py')
-rw-r--r-- | scripts/lib/devtool/standard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index f1b2e12345..d12cc2e222 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
@@ -51,7 +51,7 @@ def add(args, config, basepath, workspace): | |||
51 | raise DevtoolError('URI specified as positional argument as well as -f/--fetch') | 51 | raise DevtoolError('URI specified as positional argument as well as -f/--fetch') |
52 | args.fetchuri = args.recipename | 52 | args.fetchuri = args.recipename |
53 | args.recipename = '' | 53 | args.recipename = '' |
54 | elif '://' in args.srctree: | 54 | elif args.srctree and '://' in args.srctree: |
55 | if not args.fetchuri: | 55 | if not args.fetchuri: |
56 | if args.fetch: | 56 | if args.fetch: |
57 | raise DevtoolError('URI specified as positional argument as well as -f/--fetch') | 57 | raise DevtoolError('URI specified as positional argument as well as -f/--fetch') |