diff options
Diffstat (limited to 'bitbake/bin/bitbake-dumpsig')
-rwxr-xr-x | bitbake/bin/bitbake-dumpsig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake-dumpsig b/bitbake/bin/bitbake-dumpsig index ffaed1f457..58ba1cad04 100755 --- a/bitbake/bin/bitbake-dumpsig +++ b/bitbake/bin/bitbake-dumpsig | |||
@@ -1,4 +1,4 @@ | |||
1 | #!/usr/bin/env python | 1 | #!/usr/bin/env python3 |
2 | 2 | ||
3 | # bitbake-dumpsig | 3 | # bitbake-dumpsig |
4 | # BitBake task signature dump utility | 4 | # BitBake task signature dump utility |
@@ -23,6 +23,7 @@ import sys | |||
23 | import warnings | 23 | import warnings |
24 | import optparse | 24 | import optparse |
25 | import logging | 25 | import logging |
26 | import pickle | ||
26 | 27 | ||
27 | sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib')) | 28 | sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib')) |
28 | 29 | ||
@@ -51,7 +52,6 @@ options, args = parser.parse_args(sys.argv) | |||
51 | if len(args) == 1: | 52 | if len(args) == 1: |
52 | parser.print_help() | 53 | parser.print_help() |
53 | else: | 54 | else: |
54 | import cPickle | ||
55 | try: | 55 | try: |
56 | output = bb.siggen.dump_sigfile(args[1]) | 56 | output = bb.siggen.dump_sigfile(args[1]) |
57 | except IOError as e: | 57 | except IOError as e: |