diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-12 08:30:35 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-16 23:32:40 +0100 |
| commit | bc8971d122a02ed823acf0758da267dccc584f98 (patch) | |
| tree | dd97329507feb611e64fad7f46d97d657f23eae4 /bitbake/bin/bitbake-diffsigs | |
| parent | e2f4d9f1ec694768b223decb59a9c768a2da962d (diff) | |
| download | poky-bc8971d122a02ed823acf0758da267dccc584f98.tar.gz | |
bitbake: bitbake: Convert to python 3 megacommit This needs breaking up into smaller changes.
(Bitbake rev: cf51f19aed208a75d38c14cd585d9b9f115e3ba3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin/bitbake-diffsigs')
| -rwxr-xr-x | bitbake/bin/bitbake-diffsigs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake-diffsigs b/bitbake/bin/bitbake-diffsigs index 67c60dbb00..3b6ef8811c 100755 --- a/bitbake/bin/bitbake-diffsigs +++ b/bitbake/bin/bitbake-diffsigs | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #!/usr/bin/env python | 1 | #!/usr/bin/env python3 |
| 2 | 2 | ||
| 3 | # bitbake-diffsigs | 3 | # bitbake-diffsigs |
| 4 | # BitBake task signature data comparison utility | 4 | # BitBake task signature data comparison utility |
| @@ -24,6 +24,7 @@ import warnings | |||
| 24 | import fnmatch | 24 | import fnmatch |
| 25 | import optparse | 25 | import optparse |
| 26 | import logging | 26 | import logging |
| 27 | import pickle | ||
| 27 | 28 | ||
| 28 | sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib')) | 29 | sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib')) |
| 29 | 30 | ||
| @@ -121,7 +122,6 @@ else: | |||
| 121 | if len(args) == 1: | 122 | if len(args) == 1: |
| 122 | parser.print_help() | 123 | parser.print_help() |
| 123 | else: | 124 | else: |
| 124 | import cPickle | ||
| 125 | try: | 125 | try: |
| 126 | if len(args) == 2: | 126 | if len(args) == 2: |
| 127 | output = bb.siggen.dump_sigfile(sys.argv[1]) | 127 | output = bb.siggen.dump_sigfile(sys.argv[1]) |
