summaryrefslogtreecommitdiffstats
path: root/import-layers/yocto-poky/scripts/pythondeps
diff options
context:
space:
mode:
Diffstat (limited to 'import-layers/yocto-poky/scripts/pythondeps')
-rwxr-xr-ximport-layers/yocto-poky/scripts/pythondeps4
1 files changed, 2 insertions, 2 deletions
diff --git a/import-layers/yocto-poky/scripts/pythondeps b/import-layers/yocto-poky/scripts/pythondeps
index ff92e747e..590b9769e 100755
--- a/import-layers/yocto-poky/scripts/pythondeps
+++ b/import-layers/yocto-poky/scripts/pythondeps
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# Determine dependencies of python scripts or available python modules in a search path.
#
@@ -187,7 +187,7 @@ def get_depends_recursive(directory):
directory = os.path.realpath(directory)
provides = dict((v, k) for k, v in get_provides(directory))
- for filename, provide in provides.iteritems():
+ for filename, provide in provides.items():
if os.path.isdir(filename):
filename = os.path.join(filename, '__init__.py')
ispkg = True
OpenPOWER on IntegriCloud